diff options
-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; } |