From 117d85140f10d1f9a3e253243ab5f388b02abd3a Mon Sep 17 00:00:00 2001 From: cindy li Date: Tue, 30 Aug 2011 17:58:55 +0000 Subject: [PATCH] Fixed the issue that the check of "avail_in_mobile" on the top level tool pages was missed. --- docs/tools/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tools/index.php b/docs/tools/index.php index d226b28a0..e959d8ac7 100644 --- a/docs/tools/index.php +++ b/docs/tools/index.php @@ -23,7 +23,7 @@ $keys = array_keys($module_list); echo '
    '; foreach ($keys as $module_name) { $module = $module_list[$module_name]; - if ($module->getPrivilege() && authenticate($module->getPrivilege(), AT_PRIV_RETURN) && ($parent = $module->getChildPage('tools/index.php'))) { + if ($module->getPrivilege() && authenticate($module->getPrivilege(), AT_PRIV_RETURN) && ($parent = $module->getChildPage('tools/index.php')) && page_available($parent)) { echo '
  1. ' . $module->getName() . ' '; if (isset($_pages[$parent]['children'])) { echo '
      '; -- 2.17.1