[Rt-commit] r13070 - in rt/branches/3.8-TESTING: .

sartak at bestpractical.com sartak at bestpractical.com
Mon Jun 9 15:42:08 EDT 2008


Author: sartak
Date: Mon Jun  9 15:42:07 2008
New Revision: 13070

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/lib/RT/Test.pm

Log:
 r61878 at onn:  sartak | 2008-06-09 15:21:59 -0400
 Need to use LoadByName to get the correct name/queue behavior


Modified: rt/branches/3.8-TESTING/lib/RT/Test.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Test.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Test.pm	Mon Jun  9 15:42:07 2008
@@ -353,7 +353,7 @@
     my %args = ( Disabled => 0, @_ );
     my $obj = RT::CustomField->new( $RT::SystemUser );
     if ( $args{'Name'} ) {
-        $obj->LoadByCols( Name => $args{'Name'} );
+        $obj->LoadByName( Name => $args{'Name'}, Queue => $args{'Queue'} );
     } else {
         die "Name is required";
     }


More information about the Rt-commit mailing list