svnno****@sourc*****
svnno****@sourc*****
2008年 12月 26日 (金) 14:55:08 JST
Revision: 908 http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=908 Author: tach Date: 2008-12-26 14:55:08 +0900 (Fri, 26 Dec 2008) Log Message: ----------- fix comment error message is showing twice Modified Paths: -------------- slashjp/trunk/themes/slashcode/htdocs/comments.pl -------------- next part -------------- Modified: slashjp/trunk/themes/slashcode/htdocs/comments.pl =================================================================== --- slashjp/trunk/themes/slashcode/htdocs/comments.pl 2008-12-26 05:50:42 UTC (rev 907) +++ slashjp/trunk/themes/slashcode/htdocs/comments.pl 2008-12-26 05:55:08 UTC (rev 908) @@ -526,7 +526,7 @@ my $constants = getCurrentStatic(); my $comment = preProcessComment($form, $user, $discussion, $error_message) or return; - return $$error_message if $comment eq '-1'; + return '' if $comment eq '-1'; my $preview = postProcessComment({ %$user, %$form, %$comment }, 0, $discussion); if ($constants->{plugin}{Subscribe}) {