[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-123-gead9056

Shawn Moore sartak at bestpractical.com
Wed Jul 7 16:46:14 EDT 2010


The branch, 3.9-trunk has been updated
       via  ead9056e2c7da9611a4b51b82d0ac695e3cc1505 (commit)
      from  5d5ecff5dc35fc4e8ac995b718b34d015796ffdc (commit)

Summary of changes:
 share/html/Search/Elements/DisplayOptions |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit ead9056e2c7da9611a4b51b82d0ac695e3cc1505
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Wed Jul 7 16:47:36 2010 -0400

    Better name for %FIELDS

diff --git a/share/html/Search/Elements/DisplayOptions b/share/html/Search/Elements/DisplayOptions
index 2195e52..40ee543 100644
--- a/share/html/Search/Elements/DisplayOptions
+++ b/share/html/Search/Elements/DisplayOptions
@@ -104,12 +104,12 @@ selected="selected"
 
 <%INIT>
 my $tickets = new RT::Tickets($session{'CurrentUser'});
-my %FIELDS = %{$tickets->FIELDS};
+my %FieldDescriptions = %{$tickets->FIELDS};
 my %fields;
 
-for my $field (keys %FIELDS) {
+for my $field (keys %FieldDescriptions) {
     next if $field eq 'EffectiveId';
-    next unless $FIELDS{$field}->[0] =~ /^(?:ENUM|INT|DATE|STRING|ID)$/;
+    next unless $FieldDescriptions{$field}->[0] =~ /^(?:ENUM|INT|DATE|STRING|ID)$/;
     $fields{$field} = $field;
 }
 

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


More information about the Rt-commit mailing list