Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Prevent errors when mbstring.func_overload == 7 [patch contributed by…
Browse files Browse the repository at this point in the history
… Google Code user dhahler]
  • Loading branch information
rgrove committed Oct 13, 2009
1 parent a01fdf0 commit f89f32d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ protected function get() {

if ($c === null) {
if ($this->inputIndex < $this->inputLength) {
$c = $this->input[$this->inputIndex];
$c = substr($this->input, $this->inputIndex, 1);
$this->inputIndex += 1;
} else {
$c = null;
Expand Down

0 comments on commit f89f32d

Please sign in to comment.