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

[ljcom] r9396: LJSUP-6605. user can send userhead to co...

Committer: gprochaev
LJSUP-6605. user can send userhead to community
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	2010-08-25 11:02:11 UTC (rev 9395)
+++ trunk/cgi-bin/LJ/Widget/Shop/View/UserHeads.pm	2010-08-25 11:23:05 UTC (rev 9396)
@@ -37,6 +37,7 @@
     my $remote = LJ::get_remote();
     my $gift = ((!$remote || LJ::Request->get_param('gift'))) || 0;
     my $recipient = $gift ? LJ::load_user(LJ::Request->get_param('giftto')) : undef;
+    $recipient = undef if $recipient && !$recipient->is_person;
 
     my ($sec, $min, $hour, $mday, $mon, $year) = localtime(time);
 

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