[Bps-public-commit] r19791 - RT-BugTracker/html/Dist/Elements

sartak at bestpractical.com sartak at bestpractical.com
Thu May 28 16:08:41 EDT 2009


Author: sartak
Date: Thu May 28 16:08:41 2009
New Revision: 19791

Modified:
   RT-BugTracker/html/Dist/Elements/Tabs

Log:
Handle a queue object in Dist/Elements/Tabs

Modified: RT-BugTracker/html/Dist/Elements/Tabs
==============================================================================
--- RT-BugTracker/html/Dist/Elements/Tabs	(original)
+++ RT-BugTracker/html/Dist/Elements/Tabs	Thu May 28 16:08:41 2009
@@ -73,6 +73,8 @@
 
 my $queue_obj;
 if ( $Queue ) {
+    $Queue = $Queue->Id if ref($Queue);
+
     my $tmp = RT::Queue->new( $session{'CurrentUser'} );
     $tmp->Load( $Queue );
     unless ( $tmp->id ) {



More information about the Bps-public-commit mailing list