category image order not correct

git-svn-id: http://piwigo.org/svn/trunk@1983 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2007-04-27 04:20:56 +00:00
parent 3025faead3
commit ccc17f2f7f
+2 -2
View File
@@ -223,9 +223,9 @@ if ('categories' == $page['section'])
)
)
{
if ( !empty($result['image_order']) and !isset($page['super_order_by']) )
if ( !empty($page['category']['image_order']) and !isset($page['super_order_by']) )
{
$conf[ 'order_by' ] = ' ORDER BY '.$result['image_order'];
$conf[ 'order_by' ] = ' ORDER BY '.$page['category']['image_order'];
}
if (isset($page['flat']))