changelog_bot (changelog_bot) wrote in changelog,
changelog_bot
changelog_bot
changelog

[livejournal] r17845: Fix that the qotd manage function was no...

Committer: ldoolan
Fix that the qotd manage function was not working after r73-d release
U   trunk/cgi-bin/LJ/Widget/VerticalContentControl.pm
Modified: trunk/cgi-bin/LJ/Widget/VerticalContentControl.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/VerticalContentControl.pm	2010-12-01 11:49:18 UTC (rev 17844)
+++ trunk/cgi-bin/LJ/Widget/VerticalContentControl.pm	2010-12-01 15:44:15 UTC (rev 17845)
@@ -171,6 +171,8 @@
     } else {
         foreach my $vert (keys %LJ::VERTICAL_TREE) {
             my $v = LJ::Vertical->load_by_name($vert);
+            next unless $v;
+
             if ($v->remote_is_moderator) {
                 push @verticals, $v;
             }

Tags: changelog_bot, livejournal, 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