[Bps-public-commit] r19356 - in RT-FormTools: .
falcone at bestpractical.com
falcone at bestpractical.com
Mon Apr 27 16:53:21 EDT 2009
Author: falcone
Date: Mon Apr 27 16:53:20 2009
New Revision: 19356
Modified:
RT-FormTools/ (props changed)
RT-FormTools/html/FormTools/Field
Log:
r47064 at ketch: falcone | 2009-04-27 16:53:12 -0400
* tell the CustomField about the ticket we're working with
so that it can include ticket roles in the ACL search
Modified: RT-FormTools/html/FormTools/Field
==============================================================================
--- RT-FormTools/html/FormTools/Field (original)
+++ RT-FormTools/html/FormTools/Field Mon Apr 27 16:53:20 2009
@@ -35,6 +35,7 @@
} else {
$cf = RT::CustomField->new( $session{'CurrentUser'} );
+ $cf->SetContextObject($ticket) if $cf->can('SetContextObject');
$cf->LoadByName( Name => $name, Queue => $queue->id );
unless ( $cf->id ) {
die "Could not find a custom field called $name for the queue "
More information about the Bps-public-commit
mailing list