Committer: nnikulochkina
LJSUP-13348: user can create Paid repost with 0 LJ TokentsU 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') {