Fixed error in php with acl enterprise. Tiquet: #3457

(cherry picked from commit 2502c26077ec1d7985a766739b236e5ffc0c48bc)
This commit is contained in:
m-lopez-f 2016-03-10 10:47:02 +01:00
parent 927135627c
commit e7e91ea095

View File

@ -640,7 +640,7 @@ function menu_get_sec2_pages($sec, $sec2, $menu_hash = false) {
$sec3_array = array(); $sec3_array = array();
if (isset($sec2)) { if (isset($menu[$sec]['sub']) AND isset($menu[$sec]['sub'][$sec2]['sub2'])) {
// Get the sec2 of the subsections // Get the sec2 of the subsections
foreach ($menu[$sec]['sub'][$sec2]['sub2'] as $k => $v) { foreach ($menu[$sec]['sub'][$sec2]['sub2'] as $k => $v) {
$sec3_array[$k] = $v['text']; $sec3_array[$k] = $v['text'];