projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix invoice report when there are no customer classes, #37243, from #25943
[freeside.git]
/
FS
/
FS
/
Report
/
Table.pm
diff --git
a/FS/FS/Report/Table.pm
b/FS/FS/Report/Table.pm
index
cba968b
..
0a0d24a
100644
(file)
--- a/
FS/FS/Report/Table.pm
+++ b/
FS/FS/Report/Table.pm
@@
-901,6
+901,7
@@
sub with_classnum {
$classnum = [ $classnum ] if !ref($classnum);
@$classnum = grep /^\d+$/, @$classnum;
+ return '' if !@$classnum;
my $in = 'IN ('. join(',', @$classnum). ')';
if ( $use_override ) {