diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-11-09 17:47:29 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-11-09 17:47:29 +0000 |
commit | a66560bfb20a708276df3e2306c97feace803496 (patch) | |
tree | 52c6508cd0b1a8462c0f6f593ca7c39856cb8774 /modules | |
parent | 47c0d5af6d0dc7cf81cf7ed9f0666d5c0a7c782a (diff) | |
download | brdo-a66560bfb20a708276df3e2306c97feace803496.tar.gz brdo-a66560bfb20a708276df3e2306c97feace803496.tar.bz2 |
#172584 sidetrack issue patch by myself: tnid was not put properly into the node form, so translation workflow was not working
Diffstat (limited to 'modules')
-rw-r--r-- | modules/translation/translation.module | 2 |
1 files changed, 1 insertions, 1 deletions
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( |