Commit ca6e0483 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 365376: query.cgi: Use of uninitialized value at line 178 - Patch by…

Bug 365376: query.cgi: Use of uninitialized value at line 178 - Patch by Fré©ric Buclin <LpSolit@gmail.com> r/a=justdave
parent ca2a1d48
...@@ -174,7 +174,7 @@ if (!PrefillForm($buffer)) { ...@@ -174,7 +174,7 @@ if (!PrefillForm($buffer)) {
} }
} }
if ($default{'chfieldto'}->[0] eq "") { if (!scalar(@{$default{'chfieldto'}}) || $default{'chfieldto'}->[0] eq "") {
$default{'chfieldto'} = ["Now"]; $default{'chfieldto'} = ["Now"];
} }
......
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