[rt-devel] [PATCH] Template_Overlay's LoadQueueTemplate() does not do much

Anton Berezin tobez at tobez.org
Tue Jul 15 07:45:37 EDT 2003


diff -u --show-c-function -ruN rt-3-0-4.o/lib/RT/Template_Overlay.pm rt-3-0-4/lib/RT/Template_Overlay.pm
--- rt-3-0-4.o/lib/RT/Template_Overlay.pm	Sat Jul 12 10:24:37 2003
+++ rt-3-0-4/lib/RT/Template_Overlay.pm	Tue Jul 15 13:29:35 2003
@@ -203,10 +203,11 @@ sub LoadQueueTemplate {
     my $self = shift;
     my %args = (
         Queue => undef,
-        Name  => undef
+        Name  => undef,
+        @_
     );
 
-    return ( $self->LoadByCols( Name => $args{'Name'}, Queue => {'Queue'} ) );
+    return ( $self->LoadByCols( Name => $args{'Name'}, Queue => $args{'Queue'} ) );
 
 }
 

-- 
A topologist is someone who can't tell the difference between a donut
and a coffee cup.



More information about the Rt-devel mailing list