summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-03-17 16:13:16 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-03-17 16:13:16 +1100
commit83194c42183cbbcd86c9347cb536148ad09ac966 (patch)
tree3de46d89924629df2c7d315bffb85d4d62e4d143 /inc
parent3b2d7fd22ddddbc48158a97b8e0cf43d26c29af8 (diff)
Allow markup to work for anything other than posts
Diffstat (limited to 'inc')
-rw-r--r--inc/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php
index 8b8b2b59..ba8a1ad0 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -890,7 +890,7 @@
}
// Cites
- if(preg_match_all('/(^|\s)&gt;&gt;([0-9]+?)(\s|$)/', $body, $cites)) {
+ if(isset($board) && preg_match_all('/(^|\s)&gt;&gt;([0-9]+?)(\s|$)/', $body, $cites)) {
$previousPosition = 0;
$temp = '';
sql_open();