Committer: gariev
LJSUP-8870: donate button, link was removed for journal's ownerU 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 {