From: Frédéric Buclin Date: Wed, 7 Sep 2011 14:50:55 +0000 (+0200) Subject: Bug 684744: All fields in the "People" section are reset when clicking "Edit Search" X-Git-Tag: bugzilla-4.2rc1~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87c4a3b9273bbeb04e7c4aa8d06a12186f744fb7;p=thirdparty%2Fbugzilla.git Bug 684744: All fields in the "People" section are reset when clicking "Edit Search" r=glob a=LpSolit --- diff --git a/query.cgi b/query.cgi index 43649cc587..0502f6c27b 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 {