From deb78c3383bd7ea1f9af782613c1007c14ea4763 Mon Sep 17 00:00:00 2001 From: Jason Skomorowski Date: Wed, 30 Mar 2011 04:32:54 +0000 Subject: [PATCH] Nits --- mkdru.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mkdru.module b/mkdru.module index caf1341..9610cd0 100644 --- a/mkdru.module +++ b/mkdru.module @@ -138,7 +138,7 @@ function mkdru_settings_form(&$form_state) { if (isset($form_state['values']['settings'])) { $settings = $form_state['values']['settings']; } - else if (isset($form_state['build_info']['args']['settings'])) { + elseif (isset($form_state['build_info']['args']['settings'])) { $settings = $form_state['build_info']['args']['settings']; } else { @@ -328,7 +328,7 @@ function mkdru_ding_settings(&$form_state) { return $form; } function mkdru_ding_settings_submit($form, &$form_state) { - variable_set('mkdru_ding', $form_state[values][settings]); + variable_set('mkdru_ding', $form_state['values']['settings']); drupal_set_message(t('The configuration options have been saved.')); } -- 1.7.10.4