summaryrefslogtreecommitdiff
path: root/modules/translation/translation.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-06-22 09:10:07 +0000
committerDries Buytaert <dries@buytaert.net>2009-06-22 09:10:07 +0000
commitf96c141f5aa99ed414eba4e0a520e5b4d9f91b76 (patch)
treeacf51de08577f41ac635a84eb812109714087e81 /modules/translation/translation.module
parentbb930bf6cc74f88d765818e9971aeda9977ff355 (diff)
downloadbrdo-f96c141f5aa99ed414eba4e0a520e5b4d9f91b76.tar.gz
brdo-f96c141f5aa99ed414eba4e0a520e5b4d9f91b76.tar.bz2
- Patch #409750 by yched et al: overhaul and extend node build modes.
Diffstat (limited to 'modules/translation/translation.module')
-rw-r--r--modules/translation/translation.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/translation/translation.module b/modules/translation/translation.module
index 4b9dbecd7..b2e1ed9f3 100644
--- a/modules/translation/translation.module
+++ b/modules/translation/translation.module
@@ -167,7 +167,7 @@ function translation_form_alter(&$form, &$form_state, $form_id) {
* Display translation links with native language names, if this node
* is part of a translation set.
*/
-function translation_node_view($node, $teaser = FALSE) {
+function translation_node_view($node, $build_mode) {
if (isset($node->tnid) && $translations = translation_node_get_translations($node->tnid)) {
// Do not show link to the same node.
unset($translations[$node->language]);