From f386460ec31490ced9d169afe500dfb00ae3aed8 Mon Sep 17 00:00:00 2001 From: rvelices Date: Fri, 13 Apr 2007 23:58:28 +0000 Subject: 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 --- admin/permalinks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/permalinks.php') diff --git a/admin/permalinks.php b/admin/permalinks.php index d5aa99463..f82f88fd7 100644 --- a/admin/permalinks.php +++ b/admin/permalinks.php @@ -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'); } -- cgit v1.2.3