diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-01-06 06:44:12 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-01-06 06:44:12 +1100 |
| commit | 8231f40feede161925e95baba36ccea7165cb545 (patch) | |
| tree | 76be7e9546e41fd0265733747a6c4a265115b239 /inc | |
| parent | c519bd66f5df0af25ae5a29d20e669c49ea02869 (diff) | |
allow closing bracket after citation
Diffstat (limited to 'inc')
| -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 4fae5f84..d9d22f9c 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1336,7 +1336,7 @@ $tracked_cites = Array(); // Cites - if(isset($board) && preg_match_all('/(^|\s)>>(\d+?)([\s,.?]|$)/', $body, $cites)) { + if(isset($board) && preg_match_all('/(^|\s)>>(\d+?)([\s,.)?]|$)/', $body, $cites)) { if(count($cites[0]) > $config['max_cites']) { error($config['error']['toomanycites']); } |
