Revision c6c398c6
Added by Jim Pingle over 6 years ago
src/usr/local/www/interfaces_gre.php | ||
---|---|---|
29 | 29 |
require_once("guiconfig.inc"); |
30 | 30 |
require_once("functions.inc"); |
31 | 31 |
|
32 |
if (!is_array($config['gres'])) { |
|
33 |
$config['gres'] = array(); |
|
34 |
} |
|
35 |
if (!is_array($config['gres']['gre'])) { |
|
36 |
$config['gres']['gre'] = array(); |
|
37 |
} |
|
38 |
|
|
32 |
init_config_arr(array('gres', 'gre')); |
|
39 | 33 |
$a_gres = &$config['gres']['gre'] ; |
40 | 34 |
|
41 | 35 |
function gre_inuse($num) { |
Also available in: Unified diff
Fix #9121: Initialize arrays to prevent PHP 7 errors