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
This commit is contained in:
plegall 2006-04-20 21:37:47 +00:00
parent 599665c2cf
commit b11f25eb0b

View file

@ -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);