diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-03-23 13:19:47 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-03-23 13:19:47 +0000 |
| commit | 3029a7b679972c74080d82cd44c651d9d747ef16 (patch) | |
| tree | 77c789546e2f8cbc7c320a8f33a32ab8676e63aa /admin/unassigned_perms.php | |
| parent | fb293d48711766c2e67b6b5a34ad3c27d6946481 (diff) | |
| download | users-3029a7b679972c74080d82cd44c651d9d747ef16.tar.gz users-3029a7b679972c74080d82cd44c651d9d747ef16.tar.bz2 users-3029a7b679972c74080d82cd44c651d9d747ef16.zip | |
fix unassigned permission group suggestion
Diffstat (limited to 'admin/unassigned_perms.php')
| -rw-r--r-- | admin/unassigned_perms.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/unassigned_perms.php b/admin/unassigned_perms.php index 556c1c6..3b30f93 100644 --- a/admin/unassigned_perms.php +++ b/admin/unassigned_perms.php @@ -1,5 +1,5 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_users/admin/Attic/unassigned_perms.php,v 1.3 2006/02/27 16:08:27 bitweaver Exp $ +// $Header: /cvsroot/bitweaver/_bit_users/admin/Attic/unassigned_perms.php,v 1.4 2006/03/23 13:19:46 squareing Exp $ // Initialization require_once( '../../bit_setup_inc.php' ); @@ -24,8 +24,8 @@ if( !empty( $_REQUEST['assign_permissions'] ) && !empty( $_REQUEST['assign'] ) ) $unassignedPerms = $gBitUser->getUnassignedPerms(); foreach( $unassignedPerms as $key => $p ) { - if( !empty( $p['level'] ) ) { - switch( $p['level'] ) { + if( !empty( $p['perm_level'] ) ) { + switch( $p['perm_level'] ) { case "basic": $unassignedPerms[$key]['suggestion'] = -1; break; |
