wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[ljcom] r9973: LJSUP-7773. Deny anonymous gifting of fr...

Committer: gprochaev
LJSUP-7773. Deny anonymous gifting of free userheads

U   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,

Tags: ljcom, pm, wisest-owl
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