Commit 9c34a5e3 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) shortcut_section may not be initialized

parent 1455f7bb
......@@ -130,12 +130,11 @@ $pgtitle_output = true;
?>
</li>
<?php
echo '<li>'.get_shortcut_main_link($shortcut_section, false).'</li>';
echo '<li>'.get_shortcut_status_link($shortcut_section, false).'</li>';
echo '<li>'.get_shortcut_log_link($shortcut_section, false).'</li>';
if (isset($shortcut_section)) {
echo '<li>'.get_shortcut_main_link($shortcut_section, false).'</li>';
echo '<li>'.get_shortcut_status_link($shortcut_section, false).'</li>';
echo '<li>'.get_shortcut_log_link($shortcut_section, false).'</li>';
}
?>
<li><a href="<?php echo $helpurl; ?>" target="_blank" title="<?php echo gettext("Help for items on this page"); ?>">Help</a></li>
<li class="active"><a href="/index.php?logout">Logout</a></li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment