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
This commit is contained in:
Phil Davis 2013-11-07 03:11:48 -08:00 committed by Ermal
parent e30dd11d16
commit 96a60eb429

View File

@ -158,6 +158,7 @@ if ($act == "expkey") {
if ($_POST) {
unset($input_errors);
$input_errors = array();
$pconfig = $_POST;
/* input validation */