Avoid uninitialized warnings with comments+no CGI.
parent
b435ddb8de
commit
a87f43d71e
|
@ -206,10 +206,12 @@ sub preprocess {
|
|||
$commentopenid = $commentuser;
|
||||
}
|
||||
else {
|
||||
$commentauthorurl = IkiWiki::cgiurl(
|
||||
do => 'goto',
|
||||
page => IkiWiki::userpage($commentuser)
|
||||
);
|
||||
if (length $config{cgiurl}) {
|
||||
$commentauthorurl = IkiWiki::cgiurl(
|
||||
do => 'goto',
|
||||
page => IkiWiki::userpage($commentuser)
|
||||
);
|
||||
}
|
||||
|
||||
$commentauthor = $commentuser;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue