Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Replace function split by explode when possible.

Signed-off-by: Mark Story <mark@mark-story.com>
  • Loading branch information...
commit 1c0c1bc9c71da1ceb7bac9ea89fe0edf68d7dd25 1 parent 911a99b
Juan Basso jrbasso authored markstory committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/console/libs/tasks/extract.php
4 cake/console/libs/tasks/extract.php
View
@@ -263,9 +263,9 @@ function __extractTokens() {
}
if (is_array($token)) {
- $lineNumber += count(split("\n", $token[1])) - 1;
+ $lineNumber += count(explode("\n", $token[1])) - 1;
} else {
- $lineNumber += count(split("\n", $token)) - 1;
+ $lineNumber += count(explode("\n", $token)) - 1;
}
}
unset($allTokens);
Please sign in to comment.
Something went wrong with that request. Please try again.