Bug in line 75 cleared when no SeeAlso is specified
This commit is contained in:
parent
eed79d5fde
commit
0f7a864415
|
@ -72,11 +72,13 @@ function displayHelp($helpEntry,$helpVariables) {
|
|||
$format = " <p class=\"help\">" . $helpEntry['Text'] . "</p>\n";
|
||||
array_unshift($helpVariables,$format);
|
||||
call_user_func_array("printf",$helpVariables);
|
||||
if(is_array($helpArray['SeeAlso'])) {
|
||||
while($current = current($helpEntry["SeeAlso"]))
|
||||
{
|
||||
echo ' <p class="help">' . (( isset($current['link'])) ? '<a class="helpSeeAlso" href="' . $current['link'] . '">' : '') . _('See also') . ': ' . $current['text'] . (( isset($current['link'])) ? '</a>' : '') . '</p>\n';
|
||||
next($helpEntry["SeeAlso"]);
|
||||
}
|
||||
}
|
||||
echoHTMLFoot();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue