[Bps-public-commit] rt-extension-automaticassignment branch, master, updated. e7755593c268ae4de7841f505b5bfa6c02773e4c
Shawn Moore
shawn at bestpractical.com
Thu Sep 8 16:14:08 EDT 2016
The branch, master has been updated
via e7755593c268ae4de7841f505b5bfa6c02773e4c (commit)
from c535723093c57f6a46eed1b1c1db90a378cb2ff6 (commit)
Summary of changes:
lib/RT/Extension/AutomaticAssignment/Filter/WorkSchedule.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit e7755593c268ae4de7841f505b5bfa6c02773e4c
Author: Shawn M Moore <shawn at bestpractical.com>
Date: Thu Sep 8 20:14:03 2016 +0000
default for time
diff --git a/lib/RT/Extension/AutomaticAssignment/Filter/WorkSchedule.pm b/lib/RT/Extension/AutomaticAssignment/Filter/WorkSchedule.pm
index 40c10dd..003dbd6 100644
--- a/lib/RT/Extension/AutomaticAssignment/Filter/WorkSchedule.pm
+++ b/lib/RT/Extension/AutomaticAssignment/Filter/WorkSchedule.pm
@@ -47,7 +47,7 @@ sub FilterOwnersForTicket {
my $config = shift;
my $context = shift;
- my $time = $context->{time};
+ my $time = $context->{time} // time;
if ($config->{user_cf}) {
my @eligible;
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list