diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-03-17 16:13:16 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-03-17 16:13:16 +1100 |
| commit | 83194c42183cbbcd86c9347cb536148ad09ac966 (patch) | |
| tree | 3de46d89924629df2c7d315bffb85d4d62e4d143 | |
| parent | 3b2d7fd22ddddbc48158a97b8e0cf43d26c29af8 (diff) | |
Allow markup to work for anything other than posts
| -rw-r--r-- | inc/functions.php | 2 |
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)>>([0-9]+?)(\s|$)/', $body, $cites)) { + if(isset($board) && preg_match_all('/(^|\s)>>([0-9]+?)(\s|$)/', $body, $cites)) { $previousPosition = 0; $temp = ''; sql_open(); |
