madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20505: LJSUP-10092: Ability to make crosspostin...

Committer: sbelyaev
LJSUP-10092: Ability to make crossposting to FB&Twitter should not be for delayed posts
U   trunk/cgi-bin/LJ/Widget/EntryForm.pm
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryForm.pm	2011-11-09 05:36:31 UTC (rev 20504)
+++ trunk/cgi-bin/LJ/Widget/EntryForm.pm	2011-11-09 06:00:50 UTC (rev 20505)
@@ -899,6 +899,7 @@
          'do_not_add' => sub {
             return '' unless LJ::is_enabled("delayed_entries");
             my $journalu = LJ::load_user($opts->{'usejournal'}) || $remote;  
+            return '' unless $journalu;
             return '' if $journalu->is_community;
 
             my $selected = $opts->{'opt_backdated'} || 0;

Tags: livejournal, madeon, pm, sbelyaev
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