From: <Cra...@nt...> - 2005-07-24 16:29:41
|
Author: CrawfordCurrie Date: 2005-07-24 22:59:54 -0700 (Sun, 24 Jul 2005) New Revision: 5906 Modified: twiki/branches/DEVELOP/twikiplugins/CommentPlugin/lib/TWiki/Plugins/CommentPlugin/Comment.pm Log: Item143: apache warning from comment plugin when CommentsTmpl.txt not foudn Modified: twiki/branches/DEVELOP/twikiplugins/CommentPlugin/lib/TWiki/Plugins/CommentPlugin/Comment.pm =================================================================== --- twiki/branches/DEVELOP/twikiplugins/CommentPlugin/lib/TWiki/Plugins/CommentPlugin/Comment.pm 2005-07-25 03:16:42 UTC (rev 5905) +++ twiki/branches/DEVELOP/twikiplugins/CommentPlugin/lib/TWiki/Plugins/CommentPlugin/Comment.pm 2005-07-25 05:59:54 UTC (rev 5906) @@ -71,7 +71,7 @@ # Expand the template in the context of the web where the comment # box is (not the target of the comment!) - my $input = _getTemplate( "PROMPT:$type", $topic, $web ); + my $input = _getTemplate( "PROMPT:$type", $topic, $web ) || ''; return $input if $input =~ m/^%RED%/so; |