[Rt-commit] r13372 - in rt/3.8/trunk: .
kyoki at bestpractical.com
kyoki at bestpractical.com
Tue Jun 17 15:44:44 EDT 2008
Author: kyoki
Date: Tue Jun 17 15:44:42 2008
New Revision: 13372
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/share/html/Ticket/Elements/Tabs
Log:
r23074 at nyx: kyoki | 2008-06-17 15:29:06 -0400
changed variable name for clarity
Modified: rt/3.8/trunk/share/html/Ticket/Elements/Tabs
==============================================================================
--- rt/3.8/trunk/share/html/Ticket/Elements/Tabs (original)
+++ rt/3.8/trunk/share/html/Ticket/Elements/Tabs Tue Jun 17 15:44:42 2008
@@ -235,12 +235,12 @@
}
my $args = '';
-my $query = '';
+my $has_query = '';
my %query_args;
my $search_id = $ARGS{'SavedSearchId'}
|| $session{'CurrentSearchHash'}->{'SearchId'};
-$query = 1 if ( $ARGS{'Query'} or $session{'CurrentSearchHash'}->{'Query'} );
+$has_query = 1 if ( $ARGS{'Query'} or $session{'CurrentSearchHash'}->{'Query'} );
%query_args = (
@@ -261,7 +261,7 @@
title => loc('New Search')
};
$tabs->{"g"} = {
- path => "Search/Build.html" . (($query) ? $args : ''),
+ path => "Search/Build.html" . (($has_query) ? $args : ''),
title => loc('Edit Search')
};
$tabs->{"h"} = {
@@ -269,7 +269,7 @@
title => loc('Advanced'),
separator => 1
};
-if ($query) {
+if ($has_query) {
if ( $current_tab =~ m{Search/Results.html} ) {
$current_tab = "Search/Results.html$args";
More information about the Rt-commit
mailing list