Commit 88acd428 authored by Dries's avatar Dries

- Patch #142337 by drewish: fixed E_ALL problem.

parent eb8c22e2
......@@ -441,6 +441,7 @@ function drupal_substr($text, $start, $length = NULL) {
else {
$strlen = strlen($text);
// Find the starting byte offset
$bytes = 0;
if ($start > 0) {
// Count all the continuation bytes from the start until we have found
// $start characters
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment