diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-05 03:49:17 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-05 03:49:17 +0000 |
commit | 6c37dbae290ac9f9d83770d399d1286bdfd01f99 (patch) | |
tree | d8d234e393c8cdb59910238e8cbf82896bda5f2f | |
parent | 14053d362546d4fbcab14543757e5f5a88eea538 (diff) | |
download | brdo-6c37dbae290ac9f9d83770d399d1286bdfd01f99.tar.gz brdo-6c37dbae290ac9f9d83770d399d1286bdfd01f99.tar.bz2 |
#651510 by boombatower: Fixed token.inc - split() is deprecated in PHP 5.3.
-rw-r--r-- | includes/token.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/token.inc b/includes/token.inc index 47e7201a2..1682b4fde 100644 --- a/includes/token.inc +++ b/includes/token.inc @@ -191,7 +191,7 @@ function token_generate($type, array $tokens, array $data = array(), array $opti function token_find_with_prefix(array $tokens, $prefix, $delimiter = ':') { $results = array(); foreach ($tokens as $token => $raw) { - $parts = split($delimiter, $token, 2); + $parts = explode($delimiter, $token, 2); if (count($parts) == 2 && $parts[0] == $prefix) { $results[$parts[1]] = $raw; } |