madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r21283: LJSUP-11392: Creating scheduled entries ...

Committer: sbelyaev
LJSUP-11392: Creating scheduled entries to community. User can create scheduled entry in community with moderated entries.
U   trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl
===================================================================
--- trunk/cgi-bin/ljprotocol.pl	2012-03-02 10:20:33 UTC (rev 21282)
+++ trunk/cgi-bin/ljprotocol.pl	2012-03-02 10:42:55 UTC (rev 21283)
@@ -2410,7 +2410,7 @@
             return fail($err, 215) unless $req->{tz};
 
             # if posting to a moderated community, store and bail out here
-            if ( !LJ::DelayedEntry::can_post_to($uowner, $u) ) {
+            if ( !LJ::DelayedEntry::can_post_to($uowner, $u) || $need_moderated) {
                 return fail($err, 322);
             }
 

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