summaryrefslogtreecommitdiffstats
path: root/query.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-09-07 16:49:20 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-09-07 16:49:20 +0200
commited5059e157b43ce00f8757dfbfe42bd2fa7e964f (patch)
treeba5707111e78d4fb5c801f05fefa6e07c2685f01 /query.cgi
parentbf5b125233143260b24a9a21adc49946f5af2c44 (diff)
downloadbugzilla-ed5059e157b43ce00f8757dfbfe42bd2fa7e964f.tar.gz
bugzilla-ed5059e157b43ce00f8757dfbfe42bd2fa7e964f.tar.xz
Bug 684744: All fields in the "People" section are reset when clicking "Edit Search"
r=glob a=LpSolit
Diffstat (limited to 'query.cgi')
-rwxr-xr-xquery.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/query.cgi b/query.cgi
index a88b11c96..df7339bff 100755
--- a/query.cgi
+++ b/query.cgi
@@ -147,7 +147,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 {