From 0f21766f225a24e18c01efd7d62bae1da6e89b35 Mon Sep 17 00:00:00 2001 From: Greg Date: Mon, 5 Jan 2015 18:19:43 -0500 Subject: [PATCH] 5562: added temporary hack to fit broken tool permission issue --- include/lib/menu_pages.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/lib/menu_pages.php b/include/lib/menu_pages.php index 4e04a84c7..193e64493 100644 --- a/include/lib/menu_pages.php +++ b/include/lib/menu_pages.php @@ -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);