diff --git a/lam/templates/help.php b/lam/templates/help.php index 28e6ea10..fdf3f951 100644 --- a/lam/templates/help.php +++ b/lam/templates/help.php @@ -72,10 +72,12 @@ function displayHelp($helpEntry,$helpVariables) { $format = "

" . $helpEntry['Text'] . "

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

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

\n'; - next($helpEntry["SeeAlso"]); + if(is_array($helpArray['SeeAlso'])) { + while($current = current($helpEntry["SeeAlso"])) + { + echo '

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

\n'; + next($helpEntry["SeeAlso"]); + } } echoHTMLFoot(); }