diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-30 20:41:57 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-30 20:41:57 +1100 |
| commit | d3526e020ad977c04387f4df964ec707307557f2 (patch) | |
| tree | ed279cdbb1cd4b3b1efceacde6f79e05f80bbcd1 | |
| parent | 6f4c28f699369b87ed88f5676a08b69c8efb1cf2 (diff) | |
Bug fix.
| -rw-r--r-- | inc/display.php | 2 |
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>" ))); } |
