From 83194c42183cbbcd86c9347cb536148ad09ac966 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Thu, 17 Mar 2011 16:13:16 +1100 Subject: [PATCH] Allow markup to work for anything other than posts --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)>>([0-9]+?)(\s|$)/', $body, $cites)) { + if(isset($board) && preg_match_all('/(^|\s)>>([0-9]+?)(\s|$)/', $body, $cites)) { $previousPosition = 0; $temp = ''; sql_open();