[Rt-commit] rt branch, 4.0/edit-txn-cf-args-order, created. rt-4.0.21-59-g3f5bfb2

? sunnavy sunnavy at bestpractical.com
Wed Sep 3 22:36:06 EDT 2014


The branch, 4.0/edit-txn-cf-args-order has been created
        at  3f5bfb2ce31f74dca4f681f4355fd690aa81cad7 (commit)

- Log -----------------------------------------------------------------
commit 3f5bfb2ce31f74dca4f681f4355fd690aa81cad7
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Sep 4 10:33:25 2014 +0800

    move %ARGS ahead so they won't override the explicit args we pass later
    
    it's more right and secure.

diff --git a/share/html/Ticket/Elements/EditTransactionCustomFields b/share/html/Ticket/Elements/EditTransactionCustomFields
index c33f47c..71a5990 100644
--- a/share/html/Ticket/Elements/EditTransactionCustomFields
+++ b/share/html/Ticket/Elements/EditTransactionCustomFields
@@ -59,9 +59,9 @@
 </<% $CELL %>>
 <<% $CELL %>>
 <& /Elements/EditCustomField,
+    %ARGS,
     CustomField => $CF,
     NamePrefix => $NamePrefix,
-    %ARGS,
 &>
 %  if (my $msg = $m->notes('InvalidField-' . $CF->Id)) {
         <br />

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


More information about the rt-commit mailing list