aboutsummaryrefslogtreecommitdiffstats
path: root/include/section_init.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-04-27 04:20:56 +0000
committerrvelices <rv-github@modusoptimus.com>2007-04-27 04:20:56 +0000
commitccc17f2f7f42aa2e0668198c1a60cb912f81da84 (patch)
tree90a8171a1a24c7d599fa9d495e1570e552c6806c /include/section_init.inc.php
parent3025faead3be631a6b195b88c549d97afd507f72 (diff)
category image order not correct
git-svn-id: http://piwigo.org/svn/trunk@1983 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/section_init.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/section_init.inc.php b/include/section_init.inc.php
index 24e853cb7..84e7a83b5 100644
--- a/include/section_init.inc.php
+++ b/include/section_init.inc.php
@@ -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']))