Project

General

Profile

« Previous | Next » 

Revision c6c398c6

Added by Jim Pingle over 6 years ago

Fix #9121: Initialize arrays to prevent PHP 7 errors

View differences:

src/usr/local/www/system_hasync.php
28 28

  
29 29
require_once("guiconfig.inc");
30 30

  
31
if (!is_array($config['hasync'])) {
32
	$config['hasync'] = array();
33
}
34

  
31
init_config_arr(array('hasync'));
35 32
$a_hasync = &$config['hasync'];
36 33

  
37 34
$checkbox_names = array(

Also available in: Unified diff