projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c19fc5e
)
fix "time" parameter when querying events
author
Mark Wells
<mark@freeside.biz>
Wed, 29 Aug 2012 22:24:02 +0000
(15:24 -0700)
committer
Mark Wells
<mark@freeside.biz>
Wed, 29 Aug 2012 22:24:02 +0000
(15:24 -0700)
FS/FS/part_event.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_event.pm
b/FS/FS/part_event.pm
index
62f16fa
..
b7371c9
100644
(file)
--- a/
FS/FS/part_event.pm
+++ b/
FS/FS/part_event.pm
@@
-306,8
+306,8
@@
sub targets {
});
my @tested_objects;
foreach my $object ( @objects ) {
- my $cust_event = $self->new_cust_event($object);
- next unless $cust_event->test_conditions
('time' => $time)
;
+ my $cust_event = $self->new_cust_event($object
, 'time' => $time
);
+ next unless $cust_event->test_conditions;
$object->set('cust_event', $cust_event);
push @tested_objects, $object;