Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[ljcom] r9062: LJSUP-6234: show token prices to everyon...

Committer: gariev
LJSUP-6234: show token prices to everyone eligible
U   branches/r65/cgi-bin/LJ/Pay/Wallet.pm
Modified: branches/r65/cgi-bin/LJ/Pay/Wallet.pm
===================================================================
--- branches/r65/cgi-bin/LJ/Pay/Wallet.pm	2010-06-15 15:20:20 UTC (rev 9061)
+++ branches/r65/cgi-bin/LJ/Pay/Wallet.pm	2010-06-15 15:59:53 UTC (rev 9062)
@@ -147,6 +147,7 @@
 sub is_user_eligible {
     my ($class, $u) = @_;
 
+    return 0 unless $u;
     return 0 unless $u->is_person or $u->is_identity;
     return 0 if $u->is_deleted;
     return 0 if $u->is_expunged;

Tags: gariev, ljcom, pm
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments