журнал <b>журнал</b> (shhh) wrote in changelog,
журнал <b>журнал</b>
shhh
changelog

[livejournal] r22699: LJSUP-13348: user can create Paid repost...

Committer: nnikulochkina
LJSUP-13348: user can create Paid repost with 0 LJ Tokents
U   trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl
===================================================================
--- trunk/cgi-bin/ljprotocol.pl	2012-08-20 09:37:10 UTC (rev 22698)
+++ trunk/cgi-bin/ljprotocol.pl	2012-08-20 10:00:12 UTC (rev 22699)
@@ -3473,8 +3473,7 @@
             $req->{props}->{repost_offer} = $offer_id if $offer_id;
             
         } elsif($repost_offer_action eq 'edit') {
-            
-            $repost_offer->add_budget(\$error, int $req->{add_repost_budget}) or 
+            $repost_offer->add_budget(\$error, $repost_offer->{add_budget}) or 
                 fail(\$warning,160,$error);
        
         } elsif($repost_offer_action eq 'revoke') {

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