Committer: gprochaev
LJSUP-7773. Deny anonymous gifting of free userheadsU trunk/cgi-bin/LJ/Widget/Shop/View/UserHeads.pm
Modified: trunk/cgi-bin/LJ/Widget/Shop/View/UserHeads.pm =================================================================== --- trunk/cgi-bin/LJ/Widget/Shop/View/UserHeads.pm 2011-02-01 04:47:32 UTC (rev 9972) +++ trunk/cgi-bin/LJ/Widget/Shop/View/UserHeads.pm 2011-02-01 05:47:23 UTC (rev 9973) @@ -82,6 +82,12 @@ } @$uhs ]; + $uhs = [ + grep { + int($_->get_price) + } @$uhs + ] unless $remote; + my %ret = ( siteroot => $LJ::SITEROOT, is_gift => $gift,