[Rt-commit] rtir branch, 2.4-trunk, updated. 5e6f798b53c6d6c4873c5e404718301b53aede84

Ruslan Zakirov ruz at bestpractical.com
Mon Nov 30 21:25:00 EST 2009


The branch, 2.4-trunk has been updated
       via  5e6f798b53c6d6c4873c5e404718301b53aede84 (commit)
      from  1995f35012fef0b7af6f90f2a69b9d604c18390d (commit)

Summary of changes:
 lib/RT/IR.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 5e6f798b53c6d6c4873c5e404718301b53aede84
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Sat Nov 28 06:53:44 2009 +0300

    fix cherry pciking mistake

diff --git a/lib/RT/IR.pm b/lib/RT/IR.pm
index 8e620a2..dc3bc0a 100644
--- a/lib/RT/IR.pm
+++ b/lib/RT/IR.pm
@@ -190,7 +190,7 @@ my %STATES = (
 sub States {
     my %arg = ( Queue => undef, Active => 1, Inactive => 0, @_ );
 
-    my @queues = !$arg{'Queue'} ? (@QUEUES)
+    my @queues = !$arg{'Queue'} ? (keys %STATES)
         : ref $arg{'Queue'}? @{ $arg{'Queue'} } : ( $arg{'Queue'} );
     
     my @states;

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


More information about the Rt-commit mailing list