Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r18860: LJSUP-8547 (Add ability to post an entry...

Committer: ailyin
LJSUP-8547 (Add ability to post an entry to community for identity accounts): QOTD, handle it correctly for logged-out viewers
U   trunk/cgi-bin/LJ/Widget/QotD.pm
Modified: trunk/cgi-bin/LJ/Widget/QotD.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/QotD.pm	2011-04-12 17:18:45 UTC (rev 18859)
+++ trunk/cgi-bin/LJ/Widget/QotD.pm	2011-04-13 02:53:33 UTC (rev 18860)
@@ -152,7 +152,7 @@
                                 : "";
     
             my $usejournal_field = '';
-            if ( $remote->is_identity ) {
+            if ( $remote && $remote->is_identity ) {
                 $usejournal_field
                     = LJ::html_hidden( 'usejournal' => $LJ::QOTD_COMMUNITY );
             }

Tags: andy, 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