From b11f25eb0b44f29ef72087eae39d473fd36cffdc Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 20 Apr 2006 21:37:47 +0000 Subject: bug 332 fixed: automatic categories sort by name was not the expected one (first uppercat, after lowercase). git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1224 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/cat_list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/cat_list.php') diff --git a/admin/cat_list.php b/admin/cat_list.php index 2c659ee3f..4c266c01f 100644 --- a/admin/cat_list.php +++ b/admin/cat_list.php @@ -126,7 +126,7 @@ SELECT id, name $result = pwg_query($query); while ($row = mysql_fetch_assoc($result)) { - $categories[ $row['id'] ] = $row['name']; + $categories[ $row['id'] ] = strtolower($row['name']); } asort($categories, SORT_REGULAR); -- cgit v1.2.3