mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix a PHP erorr when a CRL has no certificates
(cherry picked from commit d9064f0b92)
This commit is contained in:
parent
cf66932544
commit
3d9d84d4bb
@ -633,6 +633,9 @@ if ($act == "new" || $act == gettext("Save") || $input_errors) {
|
||||
foreach ($ca_crl_map[$ca['refid']] as $crl):
|
||||
$tmpcrl = lookup_crl($crl);
|
||||
$internal = is_crl_internal($tmpcrl);
|
||||
if ($internal && (!isset($tmpcrl['cert']) || empty($tmpcrl['cert'])) ) {
|
||||
$tmpcrl['cert'] = array();
|
||||
}
|
||||
$inuse = crl_in_use($tmpcrl['refid']);
|
||||
?>
|
||||
<tr>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user