From 3217b14cc06e8bf52e5ba2907dda9fe73a44242c Mon Sep 17 00:00:00 2001 From: mistic100 Date: Fri, 4 Jul 2014 10:30:54 +0000 Subject: strict standards git-svn-id: http://piwigo.org/svn/trunk@28939 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/cat_list.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'admin') 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), )); // +-----------------------------------------------------------------------+ -- cgit v1.2.3