Committer: vtroitsky
LJSUP-10860: ditemid usage correctedU trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl =================================================================== --- trunk/cgi-bin/ljprotocol.pl 2012-01-24 12:59:24 UTC (rev 20975) +++ trunk/cgi-bin/ljprotocol.pl 2012-01-24 12:59:31 UTC (rev 20976) @@ -2812,7 +2812,7 @@ my $itemid = $req->{'itemid'}+0; - $itemid ||= int( $req->{'ditemid'}+0 / 256); + $itemid ||= int( ($req->{'ditemid'} + 0) / 256); # underage users can't do this return fail($err,310) if $u->underage;