diff options
author | jim-p <jimp@pfsense.org> | 2016-03-11 10:42:50 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-03-11 10:42:50 -0500 |
commit | b95e3de4cb39e0b3ef6a0f042b2c96b041019522 (patch) | |
tree | 614c21c06615e90d30d0f692787e59c14984800d /src/usr | |
parent | e8a37c8746c94809ba54df96f75e224bcafaeb3c (diff) | |
download | pfsense-b95e3de4cb39e0b3ef6a0f042b2c96b041019522.zip pfsense-b95e3de4cb39e0b3ef6a0f042b2c96b041019522.tar.gz |
Ensure $a_cert is always an array. Fixes #5977
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/system_advanced_admin.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/local/www/system_advanced_admin.php b/src/usr/local/www/system_advanced_admin.php index 28e9324..719f69b 100644 --- a/src/usr/local/www/system_advanced_admin.php +++ b/src/usr/local/www/system_advanced_admin.php @@ -94,6 +94,8 @@ $certs_available = false; if (is_array($a_cert) && count($a_cert)) { $certs_available = true; +} else { + $a_cert = array(); } if (!$pconfig['webguiproto'] || !$certs_available) { |