From bdb6f9ec379b79da976ca2a8ffd1e1714148e173 Mon Sep 17 00:00:00 2001 From: Markus Lude Date: Mon, 11 Mar 2024 14:17:35 +0100 Subject: [PATCH] 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. --- wiki.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiki.pl b/wiki.pl index c07d7b7..e326839 100755 --- a/wiki.pl +++ b/wiki.pl @@ -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)) {