Committer: nnikulochkina
LJSUP-13769: S2 styles Journal Promo blockU trunk/cgi-bin/LJ/S2.pm
Modified: trunk/cgi-bin/LJ/S2.pm =================================================================== --- trunk/cgi-bin/LJ/S2.pm 2012-09-26 13:04:44 UTC (rev 22980) +++ trunk/cgi-bin/LJ/S2.pm 2012-09-26 13:33:39 UTC (rev 22981) @@ -5366,6 +5366,8 @@ sub Page__render_journalpromo { my ($ctx, $this) = @_; + + return 0 if $LJ::REQ_GLOBAL{'journalpromo_showed'}++; my $rendered = Page__journalpromo($ctx, $this); $S2::pout->($rendered); @@ -5373,5 +5375,4 @@ return $rendered ? 1 : 0; } - 1;