diff options
-rw-r--r-- | admin/cat_list.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/cat_list.php b/admin/cat_list.php index 59141d583..54cb44595 100644 --- a/admin/cat_list.php +++ b/admin/cat_list.php @@ -325,13 +325,14 @@ if (isset($_GET['parent_id'])) { $form_action.= '&parent_id='.$_GET['parent_id']; } +$sort_orders_checked = array_keys($sort_orders); $template->assign(array( 'CATEGORIES_NAV'=>$navigation, 'F_ACTION'=>$form_action, 'PWG_TOKEN' => get_pwg_token(), 'sort_orders' => $sort_orders, - 'sort_order_checked' => array_shift(array_keys($sort_orders)), + 'sort_order_checked' => array_shift($sort_orders_checked), )); // +-----------------------------------------------------------------------+ |