summaryrefslogtreecommitdiff
path: root/modules/contact/contact.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/contact/contact.module')
-rw-r--r--modules/contact/contact.module7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/contact/contact.module b/modules/contact/contact.module
index f6a8dfa82..6c343882f 100644
--- a/modules/contact/contact.module
+++ b/modules/contact/contact.module
@@ -86,15 +86,16 @@ function contact_menu() {
);
$items['contact'] = array(
'title' => 'Contact',
- 'page callback' => 'contact_site_page',
+ 'page callback' => 'drupal_get_form',
+ 'page arguments' => array('contact_site_form'),
'access arguments' => array('access site-wide contact form'),
'type' => MENU_SUGGESTED_ITEM,
'file' => 'contact.pages.inc',
);
$items['user/%user/contact'] = array(
'title' => 'Contact',
- 'page callback' => 'contact_personal_page',
- 'page arguments' => array(1),
+ 'page callback' => 'drupal_get_form',
+ 'page arguments' => array('contact_personal_form', 1),
'type' => MENU_LOCAL_TASK,
'access callback' => '_contact_personal_tab_access',
'access arguments' => array(1),