projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a2d8bb
)
fix for running without a ticket_system configured, RT#34798, RT#10363
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 30 Apr 2015 22:13:16 +0000
(15:13 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 30 Apr 2015 22:13:16 +0000
(15:13 -0700)
FS/FS/part_export/rt_ticket.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_export/rt_ticket.pm
b/FS/FS/part_export/rt_ticket.pm
index
72e387c
..
80254fc
100644
(file)
--- 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;
},