From 87c4a3b9273bbeb04e7c4aa8d06a12186f744fb7 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 7 Sep 2011 16:50:55 +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 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 { -- cgit v1.2.3-24-g4f1b