From 295c009619eb5193f4cb92942582cbb97fdbfc7f Mon Sep 17 00:00:00 2001 From: Silvio Date: Fri, 8 Oct 2010 18:05:11 -0300 Subject: Minor variable change --- node_truncate.module | 4 ++-- 1 file 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)); -- cgit v1.2.3