Fix PHP warning

remotes/angel/1.11.x
jmontoyaa 8 years ago
parent 6150fe7d70
commit 66bc297d5f
  1. 1
      main/inc/global.inc.php

@ -249,6 +249,7 @@ foreach ($result as & $row) {
if ($row['access_url_changeable'] == 1 && $url_info['active'] == 1) { if ($row['access_url_changeable'] == 1 && $url_info['active'] == 1) {
if (isset($settings_by_access_list[$var]) && if (isset($settings_by_access_list[$var]) &&
isset($settings_by_access_list[$var][$subkey]) &&
$settings_by_access_list[$var][$subkey][$category]['selected_value'] != '') { $settings_by_access_list[$var][$subkey][$category]['selected_value'] != '') {
if ($row['subkey'] == null) { if ($row['subkey'] == null) {
$_setting[$row['variable']] = $settings_by_access_list[$var][$subkey][$category]['selected_value']; $_setting[$row['variable']] = $settings_by_access_list[$var][$subkey][$category]['selected_value'];

Loading…
Cancel
Save