diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-04 18:25:23 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-04 18:25:23 +1100 |
| commit | 32f9ca2b70ce3fe9481927cbde24bed658ab5b95 (patch) | |
| tree | 82f01c92b51dfd56cf9d79643534d96150a75b30 | |
| parent | 5765e2c423451725dcb8bf41c300aff4a7c30cb3 (diff) | |
Fixed major bug that was submitted with the previous commit
| -rw-r--r-- | inc/functions.php | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |
