Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[livejournal] r20804: LJSUP-10782: incorrect working redirect ...

Committer: anazarov
LJSUP-10782: incorrect working redirect after adding comments
U   trunk/htdocs/talkpost_do.bml
Modified: trunk/htdocs/talkpost_do.bml
===================================================================
--- trunk/htdocs/talkpost_do.bml	2011-12-19 06:53:29 UTC (rev 20803)
+++ trunk/htdocs/talkpost_do.bml	2011-12-19 08:46:14 UTC (rev 20804)
@@ -474,16 +474,16 @@
             # otherwise, it's a screened comment.
             if ($journalu->{'journaltype'} eq 'C') {
                 $mlcode = $POST{'usertype'} eq 'anonymous'
-                    ? '.success.screened.comm.anon2'
-                    : '.success.screened.comm2';
-                $message = $mlcode;
+                    ? '.success.screened.comm.anon3'
+                    : '.success.screened.comm3';
+                $message = $ML{$mlcode};
                 return $redirect->($commentlink) if $ajax;
             }
             else {
                 $mlcode = $POST{'usertype'} eq 'anonymous'
-                    ? '.success.screened.user.anon2'
-                    : '.success.screened.user2';
-                $message = $mlcode;
+                    ? '.success.screened.user.anon3'
+                    : '.success.screened.user3';
+                $message = $ML{$mlcode};
                 return $redirect->($commentlink) if $ajax;
             }
         }

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