[freeside-commits] branch master updated. 3acf33a87b4e8ebaac08652177d79b22721e2690

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


The branch, master has been updated
       via  3acf33a87b4e8ebaac08652177d79b22721e2690 (commit)
      from  3a2d8bbc434fbcb96563bd4d437b31db38c76f09 (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 3acf33a87b4e8ebaac08652177d79b22721e2690
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Apr 30 15:13:16 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