[Rt-commit] rt branch, 4.0/rest-load-ticket-cf-with-queue-limit, updated. rt-4.0.5-80-g3a7f363
? sunnavy
sunnavy at bestpractical.com
Mon Feb 27 04:19:39 EST 2012
The branch, 4.0/rest-load-ticket-cf-with-queue-limit has been updated
via 3a7f36396400279a3658686f94491e3663d3dbce (commit)
from 959ad3d4e999585d5a42f87241c7e49703d05f5c (commit)
Summary of changes:
share/html/REST/1.0/Forms/ticket/default | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 3a7f36396400279a3658686f94491e3663d3dbce
Author: sunnavy <sunnavy at bestpractical.com>
Date: Mon Feb 27 17:16:42 2012 +0800
$data{Queue} maybe already moved to $v{Queue}
diff --git a/share/html/REST/1.0/Forms/ticket/default b/share/html/REST/1.0/Forms/ticket/default
index 30caf04..9a2212b 100755
--- a/share/html/REST/1.0/Forms/ticket/default
+++ b/share/html/REST/1.0/Forms/ticket/default
@@ -152,7 +152,7 @@ else {
my $key = $1 || $2;
my $cf = RT::CustomField->new( $session{CurrentUser} );
- $cf->LoadByName( Name => $key, Queue => $data{Queue} );
+ $cf->LoadByName( Name => $key, Queue => $data{Queue} || $v{Queue} );
unless ( $cf->id ) {
$cf->LoadByName( Name => $key, Queue => 0 );
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list