mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 09:22:21 +02:00
merge r1955 from branch-1_7 to trunk:
flat view small improvements (picture page on root category sorter urls and works in several cases) correction in permalinks admin (error was assignment in if instead of comparison) git-svn-id: http://piwigo.org/svn/trunk@1956 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -137,7 +137,7 @@ while ( $row=mysql_fetch_assoc($result) )
|
||||
$categories[] = $row;
|
||||
}
|
||||
|
||||
if ( !count($sort_by) or $sort_by[0]='name')
|
||||
if ( !count($sort_by) or $sort_by[0]=='name')
|
||||
{
|
||||
usort($categories, 'global_rank_compare');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user