summaryrefslogtreecommitdiff
path: root/FS/FS/part_event.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-06-11 15:18:59 -0700
committerMark Wells <mark@freeside.biz>2014-06-11 15:18:59 -0700
commit6b28d0bd4b422d0fff32b559d0785665b1c46b27 (patch)
treed24d5bf2f2ab9560a0690b5550a58da0deab51f8 /FS/FS/part_event.pm
parentc16ef0145a0049c3f20377e2c5076087e999cde0 (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.pm4
1 files changed, 3 insertions, 1 deletions
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
);