aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cat_list.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2006-04-20 21:37:47 +0000
committerplegall <plg@piwigo.org>2006-04-20 21:37:47 +0000
commitb11f25eb0b44f29ef72087eae39d473fd36cffdc (patch)
tree5b742d525557636c137d5c85410badff58395e4e /admin/cat_list.php
parent599665c2cf83fa924eb5ca0e71a176aaa714ce33 (diff)
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
Diffstat (limited to 'admin/cat_list.php')
-rw-r--r--admin/cat_list.php2
1 files changed, 1 insertions, 1 deletions
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);