summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2008-10-15 16:27:20 +0000
committerwjames5 <will@tekimaki.com>2008-10-15 16:27:20 +0000
commit32439ac6f0960041002715b1aa5522ca4189c199 (patch)
tree2dc34be673b3ffb16fcdc62352b39b263ca96808 /admin
parentf30db709a0b7fa237bf80fbc010bcbc637ad53c8 (diff)
downloadusers-32439ac6f0960041002715b1aa5522ca4189c199.tar.gz
users-32439ac6f0960041002715b1aa5522ca4189c199.tar.bz2
users-32439ac6f0960041002715b1aa5522ca4189c199.zip
call edit service on new user object - not admin user object which creates bad pObject ref in service
Diffstat (limited to 'admin')
-rw-r--r--admin/index.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/admin/index.php b/admin/index.php
index 0da0280..d3e726e 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -1,5 +1,5 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_users/admin/index.php,v 1.27 2008/07/02 19:21:57 spiderr Exp $
+// $Header: /cvsroot/bitweaver/_bit_users/admin/index.php,v 1.28 2008/10/15 16:27:20 wjames5 Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
@@ -173,7 +173,9 @@ if (isset($_REQUEST["numrows"])) {
$_REQUEST['listInfo']["URL"] = USERS_PKG_URL."admin/index.php";
$gBitSmarty->assign_by_ref('listInfo', $_REQUEST['listInfo']);
-$gBitUser->invokeServices( 'content_edit_function' );
+// invoke edit service for the add user feature
+$userObj = new BitPermUser();
+$userObj->invokeServices( 'content_edit_function' );
// Get groups (list of groups)
$grouplist = $gBitUser->getGroups('', '', 'group_name_asc');