From 8231f40feede161925e95baba36ccea7165cb545 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Fri, 6 Jan 2012 06:44:12 +1100 Subject: [PATCH] allow closing bracket after citation --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']); }