[Bps-public-commit] rt-extension-formtools branch, master, updated. 947926ead4a2fff8c48f224c60e2ac162f362293

Shawn Moore sartak at bestpractical.com
Fri Nov 12 16:26:45 EST 2010


The branch, master has been updated
       via  947926ead4a2fff8c48f224c60e2ac162f362293 (commit)
      from  6a60acbab9cf37ab9f1af659b22259fad58e24cb (commit)

Summary of changes:
 html/FormTools/Field |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 947926ead4a2fff8c48f224c60e2ac162f362293
Author: Matt Zagrabelny <mzagrabe at d.umn.edu>
Date:   Fri Nov 12 16:26:52 2010 -0500

    Search for global and queue-specific CFs

diff --git a/html/FormTools/Field b/html/FormTools/Field
index c3fb563..8cd2319 100644
--- a/html/FormTools/Field
+++ b/html/FormTools/Field
@@ -36,7 +36,7 @@ if ( RT::Extension::FormTools::is_core_field($name) ) {
 
     $cf = RT::CustomField->new( $session{'CurrentUser'} );
     $cf->SetContextObject($ticket) if $cf->can('SetContextObject');
-    $cf->LoadByName( Name => $name, Queue => $queue->id );
+    $cf->LoadByName( Name => $name );
     unless ( $cf->id ) {
         die "Could not find a custom field called $name for the queue "
             . $queue->Name;

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



More information about the Bps-public-commit mailing list