diff options
Diffstat (limited to 'include/section_init.inc.php')
-rw-r--r-- | include/section_init.inc.php | 4 |
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'])) |