Browse Source

Fixed major bug that was submitted with the previous commit

pull/40/head
Savetheinternet 14 years ago
parent
commit
32f9ca2b70
  1. 2
      inc/functions.php

2
inc/functions.php

@ -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…
Cancel
Save