From 7de41539df93abeea427c1aa83ee7e13684a4fc6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 18 Aug 2006 18:58:47 +0000 Subject: - Patch #77919 by chx, eaton, moshe, et al: enable programmaticaly submitted forms via the pull model. --- modules/blogapi/blogapi.module | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules/blogapi') diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module index 878afd9f8..8d6fb52bc 100644 --- a/modules/blogapi/blogapi.module +++ b/modules/blogapi/blogapi.module @@ -556,7 +556,7 @@ function blogapi_admin_settings() { '#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).') ); - return system_settings_form('blogapi_admin_settings', $form); + return system_settings_form($form); } function blogapi_menu($may_cache) { @@ -580,7 +580,8 @@ function blogapi_menu($may_cache) { 'path' => 'admin/settings/blogapi', 'title' => t('blog APIs'), 'description' => t('Configure which content types and engines external blog clients can use.'), - 'callback' => 'blogapi_admin_settings', + 'callback' => 'drupal_get_form', + 'callback arguments' => array('blogapi_admin_settings'), 'access' => user_access('administer site configuration'), 'type' => MENU_NORMAL_ITEM ); -- cgit v1.2.3