Committer: janine
http://rt.livejournal.org/Ticket/Display.html?id=3317 Show sponsored communities to logged out users who do interest searches.
U trunk/cgi-bin/ljcom.pl
Modified: trunk/cgi-bin/ljcom.pl
===================================================================
--- trunk/cgi-bin/ljcom.pl 2007-01-05 02:33:16 UTC (rev 4106)
+++ trunk/cgi-bin/ljcom.pl 2007-01-05 03:16:39 UTC (rev 4107)
@@ -1651,7 +1651,7 @@
}
}
- return unless LJ::run_hook('should_show_ad', { ctx => 'app' });
+ return unless LJ::run_hook('should_show_ad', { ctx => 'app' }) || !LJ::get_remote();
my $hide_adsref = $arg->{hide_ad} or croak "no hide_ad param";