summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-09-07 16:50:55 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-09-07 16:50:55 +0200
commit87c4a3b9273bbeb04e7c4aa8d06a12186f744fb7 (patch)
tree1e2f136150bf774a5191eea3bffeea6df78dea41
parent3d9226a5e915c2ea85af0c37a85ac091ec4fb31e (diff)
downloadbugzilla-87c4a3b9273bbeb04e7c4aa8d06a12186f744fb7.tar.gz
bugzilla-87c4a3b9273bbeb04e7c4aa8d06a12186f744fb7.tar.xz
Bug 684744: All fields in the "People" section are reset when clicking "Edit Search"
r=glob a=LpSolit
-rwxr-xr-xquery.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/query.cgi b/query.cgi
index 43649cc58..0502f6c27 100755
--- a/query.cgi
+++ b/query.cgi
@@ -107,7 +107,7 @@ sub PrefillForm {
# If the name ends in a number (which it does for the fields which
# are part of the email searching), we use the array
# positions to show the defaults for that number field.
- elsif ($name =~ /^(\w)(\d)$/) {
+ elsif ($name =~ /^(\w+)(\d)$/) {
$default{$1}->[$2] = $values[0];
}
else {