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:
parent
599665c2cf
commit
b11f25eb0b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue