summaryrefslogtreecommitdiff
path: root/modules/profile/profile.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profile/profile.module')
-rw-r--r--modules/profile/profile.module7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index 746b379b5..6e6ce260a 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -67,6 +67,10 @@ function profile_theme() {
'profile_wrapper' => array(
'arguments' => array('content' => NULL),
'template' => 'profile-wrapper',
+ ),
+ 'profile_admin_overview' => array(
+ 'arguments' => array('form' => NULL),
+ 'file' => 'profile.admin.inc',
)
);
}
@@ -85,7 +89,8 @@ function profile_menu() {
$items['admin/user/profile'] = array(
'title' => 'Profiles',
'description' => 'Create customizable fields for your users.',
- 'page callback' => 'profile_admin_overview',
+ 'page callback' => 'drupal_get_form',
+ 'page arguments' => array('profile_admin_overview'),
'file' => 'profile.admin.inc',
);
$items['admin/user/profile/add'] = array(