Allow markup to work for anything other than posts

This commit is contained in:
Savetheinternet 2011-03-17 16:13:16 +11:00
parent 3b2d7fd22d
commit 83194c4218

View File

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