projects
/
infodrom.org
/
service.infodrom.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2e6b6cd
)
Check for uninitialised variable
author
Joey Schulze
<joey@infodrom.org>
Sun, 17 Feb 2008 08:26:22 +0000
(08:26 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Sun, 17 Feb 2008 08:26:22 +0000
(08:26 +0000)
src/InfoCon/buch/infocon
patch
|
blob
|
history
diff --git
a/src/InfoCon/buch/infocon
b/src/InfoCon/buch/infocon
index
26f6faa
..
35b9d8e
100755
(executable)
--- a/
src/InfoCon/buch/infocon
+++ b/
src/InfoCon/buch/infocon
@@
-120,7
+120,7
@@
sub sales_list
my $sth;
my $d;
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 {
if ($where) {
$where .= " AND visible = 1";
} else {