Fixed major bug that was submitted with the previous commit
This commit is contained in:
parent
5765e2c423
commit
32f9ca2b70
@ -133,6 +133,8 @@
|
|||||||
$temp .= substr($body, $previousPosition, $position-$previousPosition) . $cites[1][$index] . $replacement . $cites[3][$index];
|
$temp .= substr($body, $previousPosition, $position-$previousPosition) . $cites[1][$index] . $replacement . $cites[3][$index];
|
||||||
$previousPosition = $position+strlen($cites[0][$index]);
|
$previousPosition = $position+strlen($cites[0][$index]);
|
||||||
}
|
}
|
||||||
|
// The rest
|
||||||
|
$temp .= substr($body, $previousPosition);
|
||||||
|
|
||||||
$body = $temp;
|
$body = $temp;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user