[freeside-commits] branch FREESIDE_4_BRANCH updated. 103cc35fc096f1cc1ca25fe5e0e25d1a71c80b86
Ivan
ivan at 420.am
Wed Mar 8 10:14:01 PST 2017
The branch, FREESIDE_4_BRANCH has been updated
via 103cc35fc096f1cc1ca25fe5e0e25d1a71c80b86 (commit)
from 70877d564009919054ca785c5b8f756f0e81691a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 103cc35fc096f1cc1ca25fe5e0e25d1a71c80b86
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Mar 8 10:14:00 2017 -0800
quiet warning when running without ticket_system
diff --git a/FS/FS/Cron/rt_tasks.pm b/FS/FS/Cron/rt_tasks.pm
index fd2a718..01ea0b5 100644
--- a/FS/FS/Cron/rt_tasks.pm
+++ b/FS/FS/Cron/rt_tasks.pm
@@ -29,7 +29,7 @@ sub rt_daily {
# RT_External installations should have their own cron scripts for this
my $system = $FS::TicketSystem::system;
- return if $system ne 'RT_Internal';
+ return if !defined($system) || $system ne 'RT_Internal';
# if -d or -y is in use, bail out. There's no reliable way to tell RT
# to use an alternate system time.
-----------------------------------------------------------------------
Summary of changes:
FS/FS/Cron/rt_tasks.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list