mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
Fixed ACL selection menu wrong sec for visual console
Former-commit-id: dd9f4a212f43774c2602932baa0c1a83e3ba6e56
This commit is contained in:
parent
88202977fa
commit
de7c1ce978
@ -510,8 +510,6 @@ function menu_add_extras(&$menu)
|
|||||||
|
|
||||||
$menu_extra['workspace']['sub']['operation/incidents/incident_detail']['text'] = __('Manage incident');
|
$menu_extra['workspace']['sub']['operation/incidents/incident_detail']['text'] = __('Manage incident');
|
||||||
|
|
||||||
$menu_extra['reporting']['sub']['godmode/reporting/visual_console_builder']['text'] = __('Manage visual console');
|
|
||||||
|
|
||||||
// Duplicate extensions as sec=extension to check it from url
|
// Duplicate extensions as sec=extension to check it from url
|
||||||
foreach ($menu as $k => $m) {
|
foreach ($menu as $k => $m) {
|
||||||
if (!isset($m['sub'])) {
|
if (!isset($m['sub'])) {
|
||||||
@ -649,6 +647,7 @@ function menu_get_sec_pages($sec, $menu_hash=false)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the pages in a section2
|
* Get the pages in a section2
|
||||||
|
* $menu
|
||||||
*
|
*
|
||||||
* @param string sec code
|
* @param string sec code
|
||||||
* @param string menu hash. All the menu structure (For example
|
* @param string menu hash. All the menu structure (For example
|
||||||
|
Loading…
x
Reference in New Issue
Block a user