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

[livejournal] r20802: LJSUP-10766: Incorrect error when delete...

Committer: anazarov
LJSUP-10766: Incorrect error when deleted user try to post comment to friens-only user
U   trunk/htdocs/talkpost_do.bml
Modified: trunk/htdocs/talkpost_do.bml
===================================================================
--- trunk/htdocs/talkpost_do.bml	2011-12-16 14:19:59 UTC (rev 20801)
+++ trunk/htdocs/talkpost_do.bml	2011-12-16 15:00:59 UTC (rev 20802)
@@ -533,7 +533,7 @@
         $add .= '&need_captcha=1' if $need_captcha;
         $add .= '&hidden=screened' if $comment->{'state'} eq 'S';
         $add .= '&hidden=spammed'  if $comment->{'state'} eq 'B';
-        $add .= '&redirect='. $url if $status eq 'error' and not $result;
+        $add .= '&redirect='. LJ::eurl($url) if $status eq 'error' and not $result;
         $add .= '&message='. $message if $message;
         # LJSUP-10671
         if ( $POST{'talkpost_do'} ) {

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