alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[livejournal] r19162: LJSUP-8870: User cannot see how many Tok...

Committer: afedorov
LJSUP-8870: User cannot see how many Tokents he was given

U   trunk/cgi-bin/LJ/Talk.pm
Modified: trunk/cgi-bin/LJ/Talk.pm
===================================================================
--- trunk/cgi-bin/LJ/Talk.pm	2011-05-27 09:24:11 UTC (rev 19161)
+++ trunk/cgi-bin/LJ/Talk.pm	2011-05-30 00:37:43 UTC (rev 19162)
@@ -165,12 +165,12 @@
     }
 
     ## Give features
-    if (LJ::is_enabled('give_features') && $remote && !$u->equals($remote) && $entry->prop('give_features')) {
+    if (LJ::is_enabled('give_features') && $remote && $entry->prop('give_features')) {
         my $give_button = LJ::run_hook("give_button", {
             'journal' => $u->{'user'},
             'itemid'  => $itemid,
         });
-        push @linkele, $give_button;
+        push @linkele, $give_button if $give_button;
     }
 
     ## Next

Tags: livejournal, pm, red_alf
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