[Rt-commit] r11474 - rt/branches/3.6-RELEASE/html/Ticket/Elements
ruz at bestpractical.com
ruz at bestpractical.com
Thu Apr 3 23:32:04 EDT 2008
Author: ruz
Date: Thu Apr 3 23:32:04 2008
New Revision: 11474
Modified:
rt/branches/3.6-RELEASE/html/Ticket/Elements/Tabs
Log:
* don't use rare RE syntax many people don't understand
Modified: rt/branches/3.6-RELEASE/html/Ticket/Elements/Tabs
==============================================================================
--- rt/branches/3.6-RELEASE/html/Ticket/Elements/Tabs (original)
+++ rt/branches/3.6-RELEASE/html/Ticket/Elements/Tabs Thu Apr 3 23:32:04 2008
@@ -221,13 +221,13 @@
$tabs->{"i"} = { path => "Search/Results.html$args",
title => loc('Show Results'),
};
- if ($current_tab =~ "Search/Results.html") {
+ if ($current_tab =~ m{Search/Results.html}) {
$current_tab = "Search/Results.html$args";
}
$tabs->{"j"} = { path => "Search/Bulk.html$args",
title => loc('Bulk Update'),
};
- if ($current_tab =~ "Search/Bulk.html") {
+ if ($current_tab =~ m{Search/Bulk.html}) {
$current_tab = "Search/Bulk.html$args";
}
foreach my $searchtab (keys %{$searchtabs}) {
More information about the Rt-commit
mailing list