From 97b1b743b97d84e542275c33f82e6ac467f03ce5 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Mon, 7 Aug 2006 21:00:26 +0000
Subject: [PATCH] - Patch #77375 from Zacker (holy smokes): fixed blogapi
 settings form.

---
 modules/blogapi/blogapi.module | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module
index f34dd4c82398..a13431aadcdf 100644
--- a/modules/blogapi/blogapi.module
+++ b/modules/blogapi/blogapi.module
@@ -553,7 +553,7 @@ function blogapi_admin_settings() {
     '#description' => t('RSD or Really-Simple-Discovery is a mechanism which allows external blogger tools to discover the APIs they can use to interact with Drupal. Here you can set the preferred method for blogger tools to interact with your site. The common XML-RPC engines are Blogger, MetaWeblog and Movabletype. If you are not sure which is the correct setting, choose Blogger.')
   );
 
-  $node_types = node_get_types();
+  $node_types = node_get_types('names');
   $defaults = isset($node_types['blog']) ? array('blog' => 1) : array();
   $form['blogapi_node_types'] = array(
     '#type' => 'checkboxes',
-- 
GitLab