Project

General

Profile

« Previous | Next » 

Revision 5aa0c748

Added by Steve Beaver about 7 years ago

PHP7 - system->Gateays resolve illegal string offset error

View differences:

src/usr/local/www/system_gateways.php
34 34

  
35 35
$a_gateways = return_gateways_array(true, false, true, true);
36 36

  
37
if (!is_array($config['gateways'])) {
38
	$config['gateways'] = array();
39
}
40

  
37 41
if (!is_array($config['gateways']['gateway_item'])) {
38 42
	$config['gateways']['gateway_item'] = array();
39 43
}

Also available in: Unified diff