[Rt-commit] r19859 - rtir/2.5/trunk/lib/RT
ruz at bestpractical.com
ruz at bestpractical.com
Wed Jun 3 05:47:15 EDT 2009
Author: ruz
Date: Wed Jun 3 05:47:15 2009
New Revision: 19859
Modified:
rtir/2.5/trunk/lib/RT/IR.pm
Log:
* return type for RT::IR->OurQueue
Modified: rtir/2.5/trunk/lib/RT/IR.pm
==============================================================================
--- rtir/2.5/trunk/lib/RT/IR.pm (original)
+++ rtir/2.5/trunk/lib/RT/IR.pm Wed Jun 3 05:47:15 2009
@@ -152,7 +152,9 @@
my $self = shift;
my $queue = shift;
$queue = $queue->Name if ref $queue;
- return $QUEUES{ lc $queue }? 1 : 0;
+ return undef unless $queue;
+ return '' unless $QUEUES{ lc $queue };
+ return $TYPE{ lc $queue };
}
=head2 TicketType
More information about the Rt-commit
mailing list