[Rt-commit] [svn] r1271 - in rt: . branches/3.2-RELEASE/lib/RT

autrijus at pallas.eruditorum.org autrijus at pallas.eruditorum.org
Wed Jul 21 20:52:54 EDT 2004


Author: autrijus
Date: Wed Jul 21 20:52:53 2004
New Revision: 1271

Modified:
   rt/   (props changed)
   rt/branches/3.2-RELEASE/lib/RT/Ticket_Overlay.pm
Log:
 ----------------------------------------------------------------------
 r6204 at not:  autrijus | 2004-07-22T00:52:38.207887Z
 
 * Switch $Ticket->AddCustomFieldValue to use $cf->LoadByNameAndQueue for
   forward compatibility.
 ----------------------------------------------------------------------


Modified: rt/branches/3.2-RELEASE/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/3.2-RELEASE/lib/RT/Ticket_Overlay.pm	(original)
+++ rt/branches/3.2-RELEASE/lib/RT/Ticket_Overlay.pm	Wed Jul 21 20:52:53 2004
@@ -3388,7 +3388,7 @@
         $cf->Load( $args{'Field'}->id );
     }
     elsif ($args{'Field'} =~ /\D/) {
-        $cf->LoadByCols( Name => $args{'Field'}, Queue => $self->QueueObj->Id );
+        $cf->LoadByNameAndQueue( Name => $args{'Field'}, Queue => $self->QueueObj->Id );
     }
     else {
         $cf->Load( $args{'Field'} );


More information about the Rt-commit mailing list