summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Search/Quicksearch.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search/Quicksearch.pm b/Bugzilla/Search/Quicksearch.pm
index 7b951d5ae..1d5965bf7 100644
--- a/Bugzilla/Search/Quicksearch.pm
+++ b/Bugzilla/Search/Quicksearch.pm
@@ -421,7 +421,7 @@ sub _handle_field_names {
# If the string was quoted to protect some special
# characters such as commas and colons, we need
# to remove quotes.
- if ($value =~ /^(["'])(.+)\g1$/) {
+ if ($value =~ /^(["'])(.+)\1$/) {
$value = $2;
$value =~ s/\\(["'])/$1/g;
}