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();