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
(from parent 1:
cf89332
)
Prevent warning
author
Joey Schulze
<joey@infodrom.org>
Sun, 8 Sep 2019 19:25:59 +0000
(21:25 +0200)
committer
Joey Schulze
<joey@infodrom.org>
Sun, 8 Sep 2019 19:25:59 +0000
(21:25 +0200)
src/InfoCon/buch/infocon
patch
|
blob
|
history
diff --git
a/src/InfoCon/buch/infocon
b/src/InfoCon/buch/infocon
index
931fdc7
..
8fe4c52
100755
(executable)
--- a/
src/InfoCon/buch/infocon
+++ b/
src/InfoCon/buch/infocon
@@
-200,7
+200,7
@@
sub sales_list
$where .= sprintf("description ILIKE '%%%s%%'", $opt_grep);
}
- if ($where !~ /visible/) {
+ if (
defined $where &&
$where !~ /visible/) {
$where .= " AND " if $where;
$where .= "visible = 1";
}