[geeklog-cvs] geeklog: Sort groups non-case sensitive
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Mon Feb 2 03:27:22 EST 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/e7ac7e1d805a
changeset: 6753:e7ac7e1d805a
user: Dirk Haun <dirk at haun-online.de>
date: Sun Feb 01 11:26:53 2009 +0100
description:
Sort groups non-case sensitive
diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
system/lib-security.php | 6 ++----
diffs (30 lines):
diff -r f0a1e033383a -r e7ac7e1d805a system/lib-security.php
--- a/system/lib-security.php Sun Feb 01 17:56:06 2009 +0100
+++ b/system/lib-security.php Sun Feb 01 11:26:53 2009 +0100
@@ -8,7 +8,7 @@
// | |
// | Geeklog security library. |
// +---------------------------------------------------------------------------+
-// | Copyright (C) 2000-2008 by the following authors: |
+// | Copyright (C) 2000-2009 by the following authors: |
// | |
// | Authors: Tony Bibbs - tony AT tonybibbs DOT com |
// | Mark Limburg - mlimburg AT users DOT sourceforge DOT net |
@@ -31,8 +31,6 @@
// | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
// | |
// +---------------------------------------------------------------------------+
-//
-// $Id: lib-security.php,v 1.75 2008/09/21 08:37:11 dhaun Exp $
/**
* This is the security library for Geeklog. This is used to implement Geeklog's
@@ -151,7 +149,7 @@
}
}
- ksort($groups);
+ uksort($groups, 'strcasecmp');
if ($_SEC_VERBOSE) {
COM_errorLog("****************leaving getusergroups(uid=$uid)***************",1);
More information about the geeklog-cvs
mailing list