summaryrefslogtreecommitdiff
path: root/assigned_modules.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-04-11 17:52:11 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-04-11 17:52:11 +0000
commit32548ef988dd7477f622c12cb7d3811fcb5575e0 (patch)
tree15d66fdd039edf70976aa279619e3b6249d573c4 /assigned_modules.php
parent94619f4a967b8d8b57bcf59738b8b811771b7b9c (diff)
downloadusers-32548ef988dd7477f622c12cb7d3811fcb5575e0.tar.gz
users-32548ef988dd7477f622c12cb7d3811fcb5575e0.tar.bz2
users-32548ef988dd7477f622c12cb7d3811fcb5575e0.zip
more permissions housekeeping and tidyup
Diffstat (limited to 'assigned_modules.php')
-rw-r--r--assigned_modules.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/assigned_modules.php b/assigned_modules.php
index d4835a1..f178e74 100644
--- a/assigned_modules.php
+++ b/assigned_modules.php
@@ -3,13 +3,13 @@
* assigned_modules
*
* @author spider <spider@steelsun.com>
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
* @package users
* @subpackage functions
* @copyright Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
* @license Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
*/
-// $Header: /cvsroot/bitweaver/_bit_users/assigned_modules.php,v 1.7 2006/04/11 13:10:18 squareing Exp $
+// $Header: /cvsroot/bitweaver/_bit_users/assigned_modules.php,v 1.8 2006/04/11 17:52:11 squareing Exp $
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Initialization
@@ -37,7 +37,7 @@ if (!$gBitUser->isRegistered()) {
include_once(USERS_PKG_PATH.'lookup_user_inc.php');
-if ($gQueryUser->mUserId != $gBitUser->mUserId && !$gBitUser->object_has_permission($gBitUser->mUserId, $gQueryUser->mInfo['content_id'], 'bituser', 'bit_p_admin_user')) {
+if ($gQueryUser->mUserId != $gBitUser->mUserId && !$gBitUser->object_has_permission($gBitUser->mUserId, $gQueryUser->mInfo['content_id'], 'bituser', 'p_users_admin')) {
$gBitSmarty->assign('msg', tra('You do not have permission to edit this user\'s theme'));
$gBitSystem->display('error.tpl');
die;