Commit b2623268 authored by Kevin Falcone's avatar Kevin Falcone
Browse files

Merge branch '3.0/dont-use-disabled-queue' into 3.0-trunk

parents 73e33260 bfec1f4d
......@@ -771,7 +771,7 @@ if ( RT::IR->HasConstituency ) {
my $new_queue = RT::Queue->new(RT->SystemUser);
$new_queue->LoadByCols(
Name => $queue->Name . " - " . $const );
if ( $new_queue->id ) {
if ( $new_queue->id && !$new_queue->Disabled ) {
my $val = $new_queue->_Value($attr) || $queue->_Value($attr);
RT->Logger->debug("Overriden $attr is $val for ticket #$id according to constituency $const");
return $val;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment