alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[livejournal] r22995: LJSUP-13431: Antispam for edited entries...

Committer: afedorov
LJSUP-13431: Antispam for edited entries in the communities

U   trunk/htdocs/editjournal.bml
Modified: trunk/htdocs/editjournal.bml
===================================================================
--- trunk/htdocs/editjournal.bml	2012-09-27 13:41:27 UTC (rev 22994)
+++ trunk/htdocs/editjournal.bml	2012-09-27 14:35:23 UTC (rev 22995)
@@ -597,7 +597,7 @@
                     my $req = $frozen ? Storable::thaw($frozen) : {};
                     ($subject, $event) = ($req->{subject}, $req->{event});
         
-                    LJ::need_var( entry_restore => "$edit_url&restore=yes" );
+                    LJ::need_var( entry_restore => "$edit_url&restore=yes" ) if $entry_obj->poster->equals($remote);  
                 }
             }
 

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