fix warnings:

wiki.pl: Use of uninitialized value $description in concatenation (.) or string at /var/www/cgi-bin/wiki.pl line 967.
wiki.pl: Use of uninitialized value $authorLink in concatenation (.) or string at /var/www/cgi-bin/wiki.pl line 967.

warnings on RSS page
This commit is contained in:
Markus Lude
2017-10-29 00:14:22 +02:00
parent 5c48d9a789
commit da5eaed40e

View File

@@ -946,6 +946,8 @@ sub GetRssRcLine{
# Add to list of items proper.
if (($summary ne "") && ($summary ne "*")) {
$description = &QuoteHtml($summary);
} else {
$description = '';
}
$host = &QuoteHtml($host);
if ($userName) {
@@ -953,6 +955,7 @@ sub GetRssRcLine{
$authorLink = 'link="' . $QuotedFullUrl . &ScriptLinkChar() . &UriEscape($author) . '"';
} else {
$author = $host;
$authorLink = '';
}
$status = (1 == $revision) ? 'new' : 'updated';
$importance = $isEdit ? 'minor' : 'major';