From ed5059e157b43ce00f8757dfbfe42bd2fa7e964f Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 7 Sep 2011 16:49:20 +0200 Subject: Bug 684744: All fields in the "People" section are reset when clicking "Edit Search" r=glob a=LpSolit --- query.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'query.cgi') 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 { -- cgit v1.2.3-24-g4f1b