Skip to content

Commit

Permalink
5562: added temporary hack to fit broken tool permission issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg committed Jan 5, 2015
1 parent cf0d636 commit 0f21766
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/lib/menu_pages.php
Expand Up @@ -84,6 +84,9 @@
* In the best case it stops after the first found link.
* In the worst case it goes through all the modules and doesn't find a link.
*/
// Hack to fix arrange-content privilege failing
global $moduleFactory;
////
$module_list = $moduleFactory->getModules(AT_MODULE_STATUS_ENABLED, 0, TRUE);
$keys = array_keys($module_list);

Expand Down

0 comments on commit 0f21766

Please sign in to comment.