summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-01-30 18:30:44 +0000
committerDries Buytaert <dries@buytaert.net>2006-01-30 18:30:44 +0000
commit48b367c9d024a848e28bd251b6f50528769a125a (patch)
treed0d864284985638858385327531068a43ea22b41 /modules
parent3478cc50d0976ed7230c8622cdb412f3ebadd415 (diff)
downloadbrdo-48b367c9d024a848e28bd251b6f50528769a125a.tar.gz
brdo-48b367c9d024a848e28bd251b6f50528769a125a.tar.bz2
- Patch #46985 by merlinofchaos: fixed problem with blogapi checkboxes.
Diffstat (limited to 'modules')
-rw-r--r--modules/blogapi.module2
-rw-r--r--modules/blogapi/blogapi.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/blogapi.module b/modules/blogapi.module
index bb187084e..3498b9b99 100644
--- a/modules/blogapi.module
+++ b/modules/blogapi.module
@@ -564,7 +564,7 @@ function blogapi_settings() {
$defaults = isset($node_types['blog']) ? array('blog' => 1) : array();
$form['blogapi_node_types'] = array(
'#type' => 'checkboxes', '#title' => t('Blog types'), '#required' => TRUE,
- '#default_value' => array_keys(variable_get('blogapi_node_types', $defaults), 1), '#options' => $node_types,
+ '#default_value' => variable_get('blogapi_node_types', $defaults), '#options' => $node_types,
'#description' => t('Select the content types for which you wish to enable posting via blogapi. Each type will appear as a different "blog" in the client application (if supported).')
);
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module
index bb187084e..3498b9b99 100644
--- a/modules/blogapi/blogapi.module
+++ b/modules/blogapi/blogapi.module
@@ -564,7 +564,7 @@ function blogapi_settings() {
$defaults = isset($node_types['blog']) ? array('blog' => 1) : array();
$form['blogapi_node_types'] = array(
'#type' => 'checkboxes', '#title' => t('Blog types'), '#required' => TRUE,
- '#default_value' => array_keys(variable_get('blogapi_node_types', $defaults), 1), '#options' => $node_types,
+ '#default_value' => variable_get('blogapi_node_types', $defaults), '#options' => $node_types,
'#description' => t('Select the content types for which you wish to enable posting via blogapi. Each type will appear as a different "blog" in the client application (if supported).')
);