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