diff --git a/lam/templates/help.php b/lam/templates/help.php index 1e9ab2b2..02645fb0 100644 --- a/lam/templates/help.php +++ b/lam/templates/help.php @@ -26,11 +26,8 @@ $Id$ /** * LDAP Account Manager help page. * - * @author Michael Dürgner - * @version 0.5 + * @author Michael Duergner * @package Help - * @copyright Copyright (C) 2003-2004 Michael Dürgner - * @license GPL */ /** @@ -92,7 +89,7 @@ function echoHTMLFoot() */ function displayHelp($helpEntry,$helpVariables) { /* Load external help page */ - if($helpEntry["ext"] == "TRUE") + if (isset($helpEntry["ext"]) && ($helpEntry["ext"] == "TRUE")) { echoHTMLHead(); include_once("../help/" . $helpEntry["Link"]); @@ -106,7 +103,7 @@ function displayHelp($helpEntry,$helpVariables) { $format = "

" . $helpEntry['Text'] . "

\n"; array_unshift($helpVariables,$format); call_user_func_array("printf",$helpVariables); - if(is_array($helpArray['SeeAlso'])) { + if(isset($helpArray['SeeAlso']) && is_array($helpArray['SeeAlso'])) { while($current = current($helpEntry["SeeAlso"])) { echo '

' . (( isset($current['link'])) ? '' : '') . _('See also') . ': ' . $current['text'] . (( isset($current['link'])) ? '' : '') . '

\n';