1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-18 17:14:04 +01:00

Allow markup to work for anything other than posts

This commit is contained in:
Savetheinternet 2011-03-17 16:13:16 +11:00
parent aed5354cff
commit 0802272203

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