summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xquery.cgi2
1 files changed, 1 insertions, 1 deletions
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 {