Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
88acd428
Commit
88acd428
authored
May 12, 2007
by
Dries
Browse files
- Patch
#142337
by drewish: fixed E_ALL problem.
parent
eb8c22e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/unicode.inc
View file @
88acd428
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment