From 32f9ca2b70ce3fe9481927cbde24bed658ab5b95 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Thu, 4 Nov 2010 18:25:23 +1100 Subject: [PATCH] Fixed major bug that was submitted with the previous commit --- inc/functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/functions.php b/inc/functions.php index 43d09d58..fb418f8c 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -133,6 +133,8 @@ $temp .= substr($body, $previousPosition, $position-$previousPosition) . $cites[1][$index] . $replacement . $cites[3][$index]; $previousPosition = $position+strlen($cites[0][$index]); } + // The rest + $temp .= substr($body, $previousPosition); $body = $temp; }