Revision 29aca990
Added by Steve Beaver about 7 years ago
src/usr/local/www/interfaces_ppps_edit.php | ||
---|---|---|
39 | 39 |
define("CRON_DAILY_PATTERN", "0 0 * * *"); |
40 | 40 |
define("CRON_HOURLY_PATTERN", "0 * * * *"); |
41 | 41 |
|
42 |
if (!is_array($config['ppps'])) { |
|
43 |
$config['ppps'] = array(); |
|
44 |
} |
|
45 |
|
|
42 | 46 |
if (!is_array($config['ppps']['ppp'])) { |
43 | 47 |
$config['ppps']['ppp'] = array(); |
44 | 48 |
} |
Also available in: Unified diff
PHP7 - Corrected illegal string offset warning