Skip to content

Commit f9cca0b

Browse files
committed
Merge commit 17c34f1 from 'carlbennett:php-mvc'
1 parent d11288f commit f9cca0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/Common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ public static function stripUpTo($buffer, $chr, $len = 0) {
283283
} else if ($i === false && $len > 0) {
284284
return self::stripToSnippet($buffer, $len);
285285
} else {
286-
return substr($buffer, 0, $i);
286+
return self::stripToSnippet(substr($buffer, 0, $i), $len);
287287
}
288288
}
289289

0 commit comments

Comments
 (0)