From 6b28d0bd4b422d0fff32b559d0785665b1c46b27 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Wed, 11 Jun 2014 15:18:59 -0700 Subject: always pass the "time" parameter to join_conditions_sql, related to #28978 --- FS/FS/part_event.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'FS/FS/part_event.pm') diff --git a/FS/FS/part_event.pm b/FS/FS/part_event.pm index 9354f4d..e7acf5a 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 ); -- cgit v1.1