From: Frédéric Buclin Date: Wed, 7 Sep 2011 14:49:20 +0000 (+0200) Subject: Bug 684744: All fields in the "People" section are reset when clicking "Edit Search" X-Git-Tag: bugzilla-4.3.1~255 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed5059e157b43ce00f8757dfbfe42bd2fa7e964f;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 a88b11c963..df7339bff2 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 {