projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
email statements, RT#4860
[freeside.git]
/
FS
/
FS
/
Cron
/
bill.pm
diff --git
a/FS/FS/Cron/bill.pm
b/FS/FS/Cron/bill.pm
index
2bdb120
..
d727d92
100644
(file)
--- a/
FS/FS/Cron/bill.pm
+++ b/
FS/FS/Cron/bill.pm
@@
-194,7
+194,7
@@
END
my $where = FS::part_event_condition->where_conditions_sql( $eventtable,
'time'=>$time,
);
-
my $where = "AND $where" if $where
;
+
$where = $where ? "AND $where" : ''
;
my $are_part_event =
"EXISTS ( SELECT 1 FROM part_event $join