Committer: anazarov
LJSUP-10782: incorrect working redirect after adding commentsU 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; } }