Commit ed5059e1 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 684744: All fields in the "People" section are reset when clicking "Edit Search"

r=glob a=LpSolit
parent bf5b1252
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment