diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-10-21 19:13:08 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-10-21 19:13:08 +0000 |
commit | 4e59908c43150d6c7365c2c1ae491ef764f3e7ec (patch) | |
tree | ae776abbdc1bddab62632564f59e2be50356dd1a /modules | |
parent | 6551d1e2d5629317968cfa2a921dfdc2dfbdd446 (diff) | |
download | brdo-4e59908c43150d6c7365c2c1ae491ef764f3e7ec.tar.gz brdo-4e59908c43150d6c7365c2c1ae491ef764f3e7ec.tar.bz2 |
- Patch #609090 by te-brian: fixed invalid call to node_get_types()
Diffstat (limited to 'modules')
-rw-r--r-- | modules/node/node.tokens.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.tokens.inc b/modules/node/node.tokens.inc index 06380fc79..691d0b7f2 100644 --- a/modules/node/node.tokens.inc +++ b/modules/node/node.tokens.inc @@ -154,7 +154,7 @@ function node_tokens($type, $tokens, array $data = array(), array $options = arr break; case 'type-name': - $type_name = node_get_types('name', $node->type); + $type_name = node_type_get_name($node); $replacements[$original] = $sanitize ? check_plain($type_name) : $type_name; break; |