diff options
author | Mark Wells <mark@freeside.biz> | 2014-06-11 15:18:59 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-06-11 15:18:59 -0700 |
commit | 6b28d0bd4b422d0fff32b559d0785665b1c46b27 (patch) | |
tree | d24d5bf2f2ab9560a0690b5550a58da0deab51f8 /FS/FS/part_event.pm | |
parent | c16ef0145a0049c3f20377e2c5076087e999cde0 (diff) |
always pass the "time" parameter to join_conditions_sql, related to #28978
Diffstat (limited to 'FS/FS/part_event.pm')
-rw-r--r-- | FS/FS/part_event.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FS/FS/part_event.pm b/FS/FS/part_event.pm index 9354f4d1e..e7acf5af2 100644 --- a/FS/FS/part_event.pm +++ b/FS/FS/part_event.pm @@ -270,7 +270,9 @@ sub targets { } # this is the 'event' side - my $join = FS::part_event_condition->join_conditions_sql( $eventtable ); + my $join = FS::part_event_condition->join_conditions_sql( $eventtable, + 'time' => $time + ); my $where = FS::part_event_condition->where_conditions_sql( $eventtable, 'time' => $time ); |