diff options
author | Phil Davis <phil.davis@world.inf.org> | 2013-11-07 03:11:48 -0800 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-11-07 18:34:01 +0000 |
commit | 96a60eb4299aa164b2d3db2eb463e03e841673d0 (patch) | |
tree | 2b482baec55689b0d0ed68961718544a71241742 /usr | |
parent | e30dd11d164895307bd56fe043e4770517872fd5 (diff) | |
download | pfsense-96a60eb4299aa164b2d3db2eb463e03e841673d0.zip pfsense-96a60eb4299aa164b2d3db2eb463e03e841673d0.tar.gz |
system_camanager init $input_errors so array_push works
Fixes input validation when creating an internal certificate. Reported in forum http://forum.pfsense.org/index.php/topic,68849.0.html
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/system_camanager.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/system_camanager.php b/usr/local/www/system_camanager.php index 254d4e2..a659239 100644 --- a/usr/local/www/system_camanager.php +++ b/usr/local/www/system_camanager.php @@ -158,6 +158,7 @@ if ($act == "expkey") { if ($_POST) { unset($input_errors); + $input_errors = array(); $pconfig = $_POST; /* input validation */ |