summaryrefslogtreecommitdiff
path: root/inc/display.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2010-11-30 20:41:57 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2010-11-30 20:41:57 +1100
commitd3526e020ad977c04387f4df964ec707307557f2 (patch)
treeed279cdbb1cd4b3b1efceacde6f79e05f80bbcd1 /inc/display.php
parent6f4c28f699369b87ed88f5676a08b69c8efb1cf2 (diff)
Bug fix.
Diffstat (limited to 'inc/display.php')
-rw-r--r--inc/display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/display.php b/inc/display.php
index 35110cd6..1ce1e609 100644
--- a/inc/display.php
+++ b/inc/display.php
@@ -27,7 +27,7 @@
'subtitle'=>'An error has occured.',
'body'=>"<center>" .
"<h2>$message</h2>" .
- "<p><a href=\"" . ROOT . $board['dir'] . FILE_INDEX . "\">Go back</a>.</p>" .
+ (isset($board) ? "<p><a href=\"" . ROOT . $board['dir'] . FILE_INDEX . "\">Go back</a>.</p>" : '').
"</center>"
)));
}