summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-09-03 14:42:12 +0000
committerDries Buytaert <dries@buytaert.net>2006-09-03 14:42:12 +0000
commit6c406e39a1ed8a5479b56bde46cf6be6b267e5bc (patch)
tree530a9bf3107626066d45e3569ffa2731493cad5d
parentc2fd5a348546221f7231766a6391a3e508ef7919 (diff)
downloadbrdo-6c406e39a1ed8a5479b56bde46cf6be6b267e5bc.tar.gz
brdo-6c406e39a1ed8a5479b56bde46cf6be6b267e5bc.tar.bz2
- Patch #76742 by beginner, eaton et al: fixed problem with editing container description of forums.
-rw-r--r--modules/forum/forum.module8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 685c96a2f..5de31ddfe 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -86,14 +86,14 @@ function forum_menu($may_cache) {
if ($term) {
$items[] = array('path' => 'admin/content/forum/edit/container',
'title' => t('edit container'),
- 'callback' => 'forum_form_container',
- 'callback arguments' => array((array)$term),
+ 'callback' => 'drupal_get_form',
+ 'callback arguments' => array('forum_form_container', (array)$term),
'access' => user_access('administer forums'),
'type' => MENU_CALLBACK);
$items[] = array('path' => 'admin/content/forum/edit/forum',
'title' => t('edit forum'),
- 'callback' => 'forum_form_forum',
- 'callback arguments' => array((array)$term),
+ 'callback' => 'drupal_get_form',
+ 'callback arguments' => array('forum_form_forum', (array)$term),
'access' => user_access('administer forums'),
'type' => MENU_CALLBACK);
}