журнал (shhh) wrote in changelog,
журнал
shhh
changelog

[livejournal] r22751: LJSUP-13443: Fix warning 'Odd number of ...

Committer: nnikulochkina
LJSUP-13443: Fix warning 'Odd number of elements in anonymous hash at /home/lj/cgi-bin/LJ/Entry/Repost.pm line 341'
U   trunk/cgi-bin/LJ/Entry.pm
Modified: trunk/cgi-bin/LJ/Entry.pm
===================================================================
--- trunk/cgi-bin/LJ/Entry.pm	2012-08-28 09:45:16 UTC (rev 22750)
+++ trunk/cgi-bin/LJ/Entry.pm	2012-08-28 10:28:33 UTC (rev 22751)
@@ -1586,7 +1586,7 @@
 sub repost_budget {
     my $self = shift;
 
-    return unless $self->repost_offer;
+    return undef unless $self->repost_offer;
 
     return LJ::Pay::Repost::Offer->get_budget(
                                               $self->posterid,

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