diff options
author | mistic100 <mistic@piwigo.org> | 2014-07-04 10:30:54 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2014-07-04 10:30:54 +0000 |
commit | 3217b14cc06e8bf52e5ba2907dda9fe73a44242c (patch) | |
tree | 97cc08d1e3ab97e9f51d4f99f58c3adadb30202f | |
parent | a9d6e70d38d88f40dd793c83c2299b8d5a08f939 (diff) |
strict standards
git-svn-id: http://piwigo.org/svn/trunk@28939 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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), )); // +-----------------------------------------------------------------------+ |