浏览代码

#694: make $__comp_menus__ really global !

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2655 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 12 年之前
父节点
当前提交
35f9f2f945
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      setup/compiler.class.inc.php

+ 2 - 0
setup/compiler.class.inc.php

@@ -146,6 +146,8 @@ class MFCompiler
 // Menus
 // Menus
 //
 //
 
 
+global \$__comp_menus__; // ensure that the global variable is indeed global !
+
 EOF;
 EOF;
 				// Preliminary: determine parent menus not defined within the current module
 				// Preliminary: determine parent menus not defined within the current module
 				$aMenusToLoad = array();
 				$aMenusToLoad = array();