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