summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/head.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/head.inc')
-rw-r--r--src/usr/local/www/head.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc
index 600fc9e..299e0e9 100644
--- a/src/usr/local/www/head.inc
+++ b/src/usr/local/www/head.inc
@@ -530,7 +530,11 @@ if (are_notices_pending()) {
print('<br />');
unset($notitle);
} else {
- print(genhtmltitle($pgtitle, $pglinks));
+ if (isset($pglinks)) {
+ print(genhtmltitle($pgtitle, $pglinks));
+ } else {
+ print(genhtmltitle($pgtitle));
+ }
}
?>
<ul class="context-links">
OpenPOWER on IntegriCloud