summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2010-11-30 20:41:57 +1100
committerPaul Merrill <napalminc@gmail.com>2010-12-01 04:14:16 -0800
commit09880ef231668bd8cd9ec7cb7bb77bf40369f6c8 (patch)
treece08f99b2859a4111c0040b6cbb6b123996e7bfc
parent2de2640cb691b65bd4ad2a9331a5fc25cffc1d3c (diff)
Bug fix.
-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>"
)));
}