From 722da605ae07c7a4a45176a86df9d49b0bf0a05f Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Sun, 17 Feb 2008 08:26:22 +0000 Subject: [PATCH] Check for uninitialised variable --- src/InfoCon/buch/infocon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/InfoCon/buch/infocon b/src/InfoCon/buch/infocon index 26f6faa..35b9d8e 100755 --- a/src/InfoCon/buch/infocon +++ b/src/InfoCon/buch/infocon @@ -120,7 +120,7 @@ sub sales_list my $sth; my $d; - if ($where !~ /visible/ && (!$opt_all || $opt_all == 0)) { + if ($where && $where !~ /visible/ && (!$opt_all || $opt_all == 0)) { if ($where) { $where .= " AND visible = 1"; } else { -- 2.20.1