[geeklog-cvs] Geeklog-1.x/system lib-user.php,1.42,1.43
Dirk Haun
dhaun at qs1489.pair.com
Sat Jun 9 17:27:59 EDT 2007
- Previous message (by thread): [geeklog-cvs] Geeklog-1.x/system lib-user.php,1.41,1.42
- Next message (by thread): [geeklog-cvs] Geeklog-1.x/public_html/layout/professional/preferences boxesblock.thtml, 1.3, 1.4 commentblock.thtml, 1.4, 1.5 displayblock.thtml, 1.5, 1.6 excludeblock.thtml, 1.5, 1.6 privacyblock.thtml, 1.3, 1.4 profile.thtml, 1.22, 1.23
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/geeklog/Geeklog-1.x/system
In directory qs1489.pair.com:/tmp/cvs-serv26661/system
Modified Files:
lib-user.php
Log Message:
It was supposed to look something like this ...
Index: lib-user.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-user.php,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** lib-user.php 9 Jun 2007 21:14:10 -0000 1.42
--- lib-user.php 9 Jun 2007 21:27:57 -0000 1.43
***************
*** 648,664 ****
{
global $_TABLES;
! $to_check = array ();
! array_push ($to_check, $groupid);
! $groups = array ();
! while (sizeof ($to_check) > 0) {
! $thisgroup = array_pop ($to_check);
if ($thisgroup > 0) {
! $result = DB_query ("SELECT ug_grp_id FROM {$_TABLES['group_assignments']} WHERE ug_main_grp_id = $thisgroup");
! $numGroups = DB_numRows ($result);
for ($i = 0; $i < $numGroups; $i++) {
! $A = DB_fetchArray ($result);
! if (!in_array ($A['ug_grp_id'], $groups)) {
! if (!in_array ($A['ug_grp_id'], $to_check)) {
! array_push ($to_check, $A['ug_grp_id']);
}
}
--- 648,665 ----
{
global $_TABLES;
!
! $to_check = array();
! array_push($to_check, $groupid);
! $groups = array();
! while (sizeof($to_check) > 0) {
! $thisgroup = array_pop($to_check);
if ($thisgroup > 0) {
! $result = DB_query("SELECT ug_grp_id FROM {$_TABLES['group_assignments']} WHERE ug_main_grp_id = $thisgroup");
! $numGroups = DB_numRows($result);
for ($i = 0; $i < $numGroups; $i++) {
! $A = DB_fetchArray($result);
! if (!in_array($A['ug_grp_id'], $groups)) {
! if (!in_array($A['ug_grp_id'], $to_check)) {
! array_push($to_check, $A['ug_grp_id']);
}
}
***************
*** 667,673 ****
}
}
- return $groups;
- }
! ?>
\ No newline at end of file
--- 668,674 ----
}
}
+ return $groups;
+ }
! ?>
- Previous message (by thread): [geeklog-cvs] Geeklog-1.x/system lib-user.php,1.41,1.42
- Next message (by thread): [geeklog-cvs] Geeklog-1.x/public_html/layout/professional/preferences boxesblock.thtml, 1.3, 1.4 commentblock.thtml, 1.4, 1.5 displayblock.thtml, 1.5, 1.6 excludeblock.thtml, 1.5, 1.6 privacyblock.thtml, 1.3, 1.4 profile.thtml, 1.22, 1.23
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the geeklog-cvs
mailing list