diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-06-17 13:53:05 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-06-17 13:53:05 +0000 |
| commit | 7ebf474d54b70acee49aa4538db3ed01e430e48a (patch) | |
| tree | 7b4127c20a03a520cf031d95127ffc1abcc0392a /admin/unassigned_perms.php | |
| parent | 1aa81279be06c3c4a62864d8e3635434cd1e0d47 (diff) | |
| download | users-7ebf474d54b70acee49aa4538db3ed01e430e48a.tar.gz users-7ebf474d54b70acee49aa4538db3ed01e430e48a.tar.bz2 users-7ebf474d54b70acee49aa4538db3ed01e430e48a.zip | |
update getAllGroups() to not return stuff in ['data'] hashkey. this is still from tikiwiki days and is tedious to deal with.
Diffstat (limited to 'admin/unassigned_perms.php')
| -rw-r--r-- | admin/unassigned_perms.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/unassigned_perms.php b/admin/unassigned_perms.php index 42c7d05..ec2ec03 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.7 2007/06/15 22:07:52 squareing Exp $ +// $Header: /cvsroot/bitweaver/_bit_users/admin/Attic/unassigned_perms.php,v 1.8 2007/06/17 13:53:04 squareing Exp $ // Initialization require_once( '../../bit_setup_inc.php' ); @@ -8,7 +8,7 @@ $gBitSmarty->assign_by_ref( 'feedback', $feedback = array() ); $listHash = array( 'sort_mode' => 'group_id_asc' ); $groupList = $gBitUser->getAllGroups( $listHash ); -foreach( $groupList['data'] as $group ) { +foreach( $groupList as $group ) { $groupDrop[$group['group_id']] = $group['group_name']; } $gBitSmarty->assign( 'groupDrop', $groupDrop ); |
