Revision c6c398c6
Added by Jim Pingle over 6 years ago
src/usr/local/www/system_camanager.php | ||
---|---|---|
43 | 43 |
$id = $_REQUEST['id']; |
44 | 44 |
} |
45 | 45 |
|
46 |
if (!is_array($config['ca'])) { |
|
47 |
$config['ca'] = array(); |
|
48 |
} |
|
49 |
|
|
50 |
$a_ca =& $config['ca']; |
|
51 |
|
|
52 |
if (!is_array($config['cert'])) { |
|
53 |
$config['cert'] = array(); |
|
54 |
} |
|
55 |
|
|
56 |
$a_cert =& $config['cert']; |
|
46 |
init_config_arr(array('ca')); |
|
47 |
$a_ca = &$config['ca']; |
|
57 | 48 |
|
58 |
if (!is_array($config['crl'])) { |
|
59 |
$config['crl'] = array(); |
|
60 |
} |
|
49 |
init_config_arr(array('cert')); |
|
50 |
$a_cert = &$config['cert']; |
|
61 | 51 |
|
62 |
$a_crl =& $config['crl']; |
|
52 |
init_config_arr(array('crl')); |
|
53 |
$a_crl = &$config['crl']; |
|
63 | 54 |
|
64 | 55 |
if ($_REQUEST['act']) { |
65 | 56 |
$act = $_REQUEST['act']; |
Also available in: Unified diff
Fix #9121: Initialize arrays to prevent PHP 7 errors