madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20999: LJSUP-9307: fixed error on delete

Committer: sbelyaev
LJSUP-9307: fixed error on delete
U   trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl
===================================================================
--- trunk/cgi-bin/ljprotocol.pl	2012-01-25 14:24:47 UTC (rev 20998)
+++ trunk/cgi-bin/ljprotocol.pl	2012-01-25 14:39:21 UTC (rev 20999)
@@ -2847,8 +2847,7 @@
     # never gets set in the "flat" protocol path
     return fail($err, 409) if length($req->{event}) >= LJ::BMAX_EVENT;
     
-    if ( $req->{ver} > 1 && LJ::is_enabled("delayed_entries") &&
-            LJ::DelayedEntry::is_future_date($req) ) {
+    if ( $req->{ver} > 1 && LJ::is_enabled("delayed_entries") && $req->{delayedid} ) {
         my $delayedid = delete $req->{delayedid};
         my $res = {};
 

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