summaryrefslogtreecommitdiff
path: root/register.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-06-17 13:53:05 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-06-17 13:53:05 +0000
commit7ebf474d54b70acee49aa4538db3ed01e430e48a (patch)
tree7b4127c20a03a520cf031d95127ffc1abcc0392a /register.php
parent1aa81279be06c3c4a62864d8e3635434cd1e0d47 (diff)
downloadusers-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 'register.php')
-rw-r--r--register.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/register.php b/register.php
index 187b60c..e1442f9 100644
--- a/register.php
+++ b/register.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_users/register.php,v 1.31 2007/04/06 22:56:21 wjames5 Exp $
+ * $Header: /cvsroot/bitweaver/_bit_users/register.php,v 1.32 2007/06/17 13:53:04 squareing Exp $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* 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
*
- * $Id: register.php,v 1.31 2007/04/06 22:56:21 wjames5 Exp $
+ * $Id: register.php,v 1.32 2007/06/17 13:53:04 squareing Exp $
* @package users
* @subpackage functions
*/
@@ -143,11 +143,12 @@ closedir ($h);
sort ($flags);
$gBitSmarty->assign('flags', $flags);
-$listHash = array( 'is_public'=>'y', 'sort_mode'=>array('is_default_asc' , 'group_desc_asc') );
+$listHash = array(
+ 'is_public' => 'y',
+ 'sort_mode' => array( 'is_default_asc', 'group_desc_asc' ),
+);
$groupList = $gBitUser->getAllGroups( $listHash );
-if ( $groupList['cant'] ) {
- $gBitSmarty->assign_by_ref( 'groupList', $groupList['data'] );
-}
+$gBitSmarty->assign_by_ref( 'groupList', $groupList );
// include preferences settings from other packages - these will be included as individual tabs