summaryrefslogtreecommitdiff
path: root/includes/unicode.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-05-12 06:08:56 +0000
committerDries Buytaert <dries@buytaert.net>2007-05-12 06:08:56 +0000
commit88acd428a8d90d85e74c107db1cf0c91bc3d3af9 (patch)
treedff5388c6790d317c9cab4a0d139b65d38a1cc12 /includes/unicode.inc
parenteb8c22e26011e5577d6c0cbba8091fcc59999bef (diff)
downloadbrdo-88acd428a8d90d85e74c107db1cf0c91bc3d3af9.tar.gz
brdo-88acd428a8d90d85e74c107db1cf0c91bc3d3af9.tar.bz2
- Patch #142337 by drewish: fixed E_ALL problem.
Diffstat (limited to 'includes/unicode.inc')
-rw-r--r--includes/unicode.inc1
1 files changed, 1 insertions, 0 deletions
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