Committer: anazarov
LJSUP-10766: Incorrect error when deleted user try to post comment to friens-only userU 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'} ) {