fix warnings:

wiki.pl?action=links&exists=0

wiki.pl: Use of uninitialized value $pgExists{"UseMod"} in numeric eq (==) at /var/www/cgi-bin/wiki.pl line 4062.
This commit is contained in:
Markus Lude
2024-03-11 14:17:35 +01:00
parent 1afaf63ec6
commit bdb6f9ec37

View File

@@ -4059,7 +4059,7 @@ sub GetFullLinkList {
if (($unique > 0) && ($seen{$link} != 1)) {
next;
}
if (($exists == 0) && ($pgExists{$link} == 1)) {
if (($exists == 0) && ($pgExists{$link})) {
next;
}
if (($exists == 1) && ($pgExists{$link} != 1)) {