[freeside-commits] branch FREESIDE_3_BRANCH updated. 38cd4a53e99e0583de526262b31a8b93debca4c7

Ivan ivan at 420.am
Thu Apr 30 15:13:18 PDT 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  38cd4a53e99e0583de526262b31a8b93debca4c7 (commit)
      from  3d5fc849ac72e56a4882bc16b3324d2157efc4b4 (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 38cd4a53e99e0583de526262b31a8b93debca4c7
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Apr 30 15:13:17 2015 -0700

    fix for running without a ticket_system configured, RT#34798, RT#10363

diff --git a/FS/FS/part_export/rt_ticket.pm b/FS/FS/part_export/rt_ticket.pm
index 72e387c..80254fc 100644
--- a/FS/FS/part_export/rt_ticket.pm
+++ b/FS/FS/part_export/rt_ticket.pm
@@ -36,6 +36,7 @@ my %queue_select = (
     $queues{$_[0]};
   },
   option_values => sub {
+    return (0) unless FS::Conf->new->config('ticket_system');
     %queues = (0 => '', FS::TicketSystem->queues());
     sort {$queues{$a} cmp $queues{$b}} keys %queues;
   },

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/part_export/rt_ticket.pm |    1 +
 1 file changed, 1 insertion(+)




More information about the freeside-commits mailing list