diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index a8966d09..ab6b2381 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -361,11 +361,12 @@ function checkConfigOptions($scopes, &$options) { * @return array help entry */ function getHelp($module,$helpID,$scope='') { + global $helpArray; if (!isset($module) || ($module == '') || ($module == 'main')) { $helpPath = "../help/help.inc"; if (is_file("../../help/help.inc")) $helpPath = "../../help/help.inc"; if (!isset($helpArray)) { - include($helpPath); + include_once($helpPath); } return $helpArray[$helpID]; } @@ -658,7 +659,7 @@ function printHelpLink($entry, $number, $module='', $scope='') { $title = htmlspecialchars($title); echo ""; - echo "\"""; + echo "\"""; echo ""; }