Project

General

Profile

« Previous | Next » 

Revision 6fb33591

Added by Stephen Jones about 7 years ago

Enforce array type for PHP 7.2 Migration

View differences:

src/usr/local/www/services_pppoe.php
30 30
require_once("filter.inc");
31 31
require_once("vpn.inc");
32 32

  
33
if (!is_array($config['pppoes'])) {
34
	$config['pppoes'] = array();
35
}
36

  
33 37
if (!is_array($config['pppoes']['pppoe'])) {
34 38
	$config['pppoes']['pppoe'] = array();
35 39
}

Also available in: Unified diff