projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CSV-Import von Waren: Standardeinheit für Zeilen ohne Einheit hinzufügen
[kivitendo-erp.git]
/
SL
/
SEPA.pm
diff --git
a/SL/SEPA.pm
b/SL/SEPA.pm
index
32e763c
..
ced75be
100644
(file)
--- a/
SL/SEPA.pm
+++ b/
SL/SEPA.pm
@@
-305,7
+305,7
@@
sub list_exports {
push @where, 'se.vc = ?';
push @values, $vc;
push @where, 'se.vc = ?';
push @values, $vc;
- my $where =
' WHERE ' . join(' AND ', map { "(${_})" } @where) if (@where)
;
+ my $where =
@where ? ' WHERE ' . join(' AND ', map { "(${_})" } @where) : ''
;
my $query =
qq|SELECT se.id, se.employee_id, se.executed, se.closed, itime::date AS export_date,
my $query =
qq|SELECT se.id, se.employee_id, se.executed, se.closed, itime::date AS export_date,