diff options
author | Silvio <silvio@devlet.com.br> | 2010-10-08 18:05:11 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-10-08 18:05:11 -0300 |
commit | 295c009619eb5193f4cb92942582cbb97fdbfc7f (patch) | |
tree | 9fc28aba26b75d53a26dab6b2e96d2f3d6213137 | |
parent | acdafa8a0b8919701f27015149de432e4d67a3c7 (diff) | |
download | node_truncate-295c009619eb5193f4cb92942582cbb97fdbfc7f.tar.gz node_truncate-295c009619eb5193f4cb92942582cbb97fdbfc7f.tar.bz2 |
Minor variable change
-rw-r--r-- | node_truncate.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node_truncate.module b/node_truncate.module index e03068c..ec9a9cd 100644 --- a/node_truncate.module +++ b/node_truncate.module @@ -46,7 +46,7 @@ function node_truncate_form(&$form_state) { '#type' => 'checkboxes', '#title' => t('Node types'), '#options' => $node_codes, - '#default_value' => variable_get('node_truncate_nodetypes', array()), + '#default_value' => variable_get('node_truncate_node_types', array()), '#description' => t('Select nodetypes which should be truncated.'), ); @@ -73,7 +73,7 @@ function node_truncate_form_validate($form, $form_state) { function node_truncate_form_submit($form, &$form_state) { $operations = array(); $types = array_filter($form_state['values']['node_types']); - variable_set('node_truncate_nodetypes', $types); + variable_set('node_truncate_node_types', $types); foreach($types as $type) { $operations[] = array('node_truncate', array($type)); |