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

[livejournal] r19174: LJSUP-8870: donate button, link was remo...

Committer: gariev
LJSUP-8870: donate button, link was removed for journal's owner
U   trunk/cgi-bin/LJ/S2.pm
Modified: trunk/cgi-bin/LJ/S2.pm
===================================================================
--- trunk/cgi-bin/LJ/S2.pm	2011-05-30 09:17:44 UTC (rev 19173)
+++ trunk/cgi-bin/LJ/S2.pm	2011-05-30 10:06:45 UTC (rev 19174)
@@ -3968,18 +3968,18 @@
     }
 }
 
-sub EntryLite__get_give_button
+sub EntryLite__print_give_button
 {
     my ($ctx, $this, $type, $image) = @_;
-    return LJ::run_hook("give_button", {
+    $S2::pout->(LJ::run_hook("give_button", {
         'journal' => $this->{'journal'}->{'username'},
         'itemid'  => $this->{itemid},
         'type'    => $type,
         'image'   => $image,
-    });
+    }));
 }
 
-*Entry__get_give_button = \&EntryLite__get_give_button;
+*Entry__print_give_button = \&EntryLite__print_give_button;
 
 sub Entry__plain_subject
 {

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