madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20492: LJSUP-10281: Auto create 2 temporary sch...

Committer: sbelyaev
LJSUP-10281: Auto create 2 temporary scheduled entries
U   trunk/htdocs/community/moderate.bml
Modified: trunk/htdocs/community/moderate.bml
===================================================================
--- trunk/htdocs/community/moderate.bml	2011-11-08 08:53:24 UTC (rev 20491)
+++ trunk/htdocs/community/moderate.bml	2011-11-08 08:57:15 UTC (rev 20492)
@@ -76,7 +76,9 @@
         $req->{user} = $poster->user;
         $req->{username} = $poster->user;
         if ($mode eq 'approve_do') {
-            my $res = LJ::Protocol::do_request('postevent', $req, \$prot_err, {'nomod'=>1, 'noauth'=>1});
+            my $res = LJ::Protocol::do_request('postevent', $req, \$prot_err, { 'nomod'=>1, 
+                                                                                'noauth'=>1, 
+                                                                                'use_custom_time'=> 0, });
             if ($res) { # succeeded
                 $success = 1;
                 $ret .= "<?h1 $ML{'.posted.header'} h1?><?p $ML{'.posted.text'} p?>";

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