From 88acd428a8d90d85e74c107db1cf0c91bc3d3af9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 12 May 2007 06:08:56 +0000 Subject: - Patch #142337 by drewish: fixed E_ALL problem. --- includes/unicode.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'includes/unicode.inc') diff --git a/includes/unicode.inc b/includes/unicode.inc index 0d5c2bc41..20ce94b95 100644 --- a/includes/unicode.inc +++ b/includes/unicode.inc @@ -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 -- cgit v1.2.3