журнал (shhh) wrote in changelog,
журнал
shhh
changelog

[ljcom] r12555: LJSUP-13238: Calendar promo stage 2 - re...

Committer: nnikulochkina
LJSUP-13238: Calendar promo stage 2 - reminder links (DISABLED #96)
U   trunk/cgi-bin/LJ/Widget/Shop/View/SelfPromo.pm
Modified: trunk/cgi-bin/LJ/Widget/Shop/View/SelfPromo.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/Shop/View/SelfPromo.pm	2012-08-27 12:40:10 UTC (rev 12554)
+++ trunk/cgi-bin/LJ/Widget/Shop/View/SelfPromo.pm	2012-08-27 13:04:55 UTC (rev 12555)
@@ -69,6 +69,9 @@
         } elsif ($remote && $type eq 'community') {
             $elem->{'communities'} = [ map { {'user' => $_ } } grep { $_ ne $remote->{'user'} } LJ::get_authas_list($remote, {type => 'C'}) ];
             $elem->{'communities_cnt'} = scalar(@{$elem->{'communities'}});
+        } elsif ($type eq 'entry') {
+            my %hints = $slot->promo_hints;
+            map {$elem->{$_} = $hints{$_}} keys %hints;
         }
         push @{$result->{$type}}, $elem;
     }

Tags: ljcom, nikulochkina, nnikulochkina, pm
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