From a66560bfb20a708276df3e2306c97feace803496 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Fri, 9 Nov 2007 17:47:29 +0000 Subject: #172584 sidetrack issue patch by myself: tnid was not put properly into the node form, so translation workflow was not working --- modules/translation/translation.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/translation/translation.module b/modules/translation/translation.module index 08591dd5a..1d7b3326a 100644 --- a/modules/translation/translation.module +++ b/modules/translation/translation.module @@ -111,6 +111,7 @@ function translation_form_alter(&$form, $form_state, $form_id) { } } // Add translation values and workflow options. + $form['tnid'] = array('#type' => 'value', '#value' => $node->tnid); $form['translation'] = array( '#type' => 'fieldset', '#title' => t('Translation settings'), @@ -120,7 +121,6 @@ function translation_form_alter(&$form, $form_state, $form_id) { '#tree' => TRUE, '#weight' => 30, ); - $form['translation']['tnid'] = array('#type' => 'value', '#value' => $node->tnid); if ($node->tnid == $node->nid) { // This is the source node of the translation $form['translation']['retranslate'] = array( -- cgit v1.2.3