Project

General

Profile

« Previous | Next » 

Revision 439d9beb

Added by Jim Pingle over 6 years ago

Initialize QinQ arrays before use. Fixes #9109

View differences:

src/usr/local/www/interfaces_qinq.php
29 29
require_once("guiconfig.inc");
30 30
require_once("functions.inc");
31 31

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

  
36
if (!is_array($config['qinqs']['qinqentry'])) {
37
	$config['qinqs']['qinqentry'] = array();
38
}
39

  
32
init_config_arr(array('qinqs', 'qinqentry'));
40 33
$a_qinqs = &$config['qinqs']['qinqentry'];
41 34

  
42 35
if ($_POST['act'] == "del") {

Also available in: Unified diff