Avoid uninitialized warnings with comments+no CGI.

master
Amitai Schlair 2014-12-28 13:15:45 -05:00
parent b435ddb8de
commit a87f43d71e
1 changed files with 6 additions and 4 deletions

View File

@ -206,10 +206,12 @@ sub preprocess {
$commentopenid = $commentuser;
}
else {
if (length $config{cgiurl}) {
$commentauthorurl = IkiWiki::cgiurl(
do => 'goto',
page => IkiWiki::userpage($commentuser)
);
}
$commentauthor = $commentuser;
}