projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
t/test hat modules/fallback und modules/override nicht benutzt.
[kivitendo-erp.git]
/
SL
/
DATEV.pm
diff --git
a/SL/DATEV.pm
b/SL/DATEV.pm
index
6c6f1c7
..
7f38c88
100644
(file)
--- a/
SL/DATEV.pm
+++ b/
SL/DATEV.pm
@@
-942,7
+942,7
@@
sub kne_stammdatenexport {
push @values, $form->{accnoto};
}
push @values, $form->{accnoto};
}
- my $where_str =
' WHERE ' . join(' AND ', map { "($_)" } @where) if (scalar @where)
;
+ my $where_str =
@where ? ' WHERE ' . join(' AND ', map { "($_)" } @where) : ''
;
my $query = qq|SELECT c.accno, c.description
FROM chart c
my $query = qq|SELECT c.accno, c.description
FROM chart c