From 70dc68426bb92a07809da37b74f7416cf28b2739 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 21 Aug 2019 13:12:37 +0200 Subject: [PATCH] Param --- htdocs/admin/tools/eaccelerator.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/admin/tools/eaccelerator.php b/htdocs/admin/tools/eaccelerator.php index 61ae6bcf17f..b37e10ca2e7 100644 --- a/htdocs/admin/tools/eaccelerator.php +++ b/htdocs/admin/tools/eaccelerator.php @@ -118,14 +118,14 @@ function create_script_table($list) { global $sortby,$langs; - if (GETPOT('order') == "asc" || GETPOST('order') =="desc") { - $order = GETPOST('order'); + if (GETPOT('order', 'alpha') == "asc" || GETPOST('order', 'alpha') == "desc") { + $order = GETPOST('order', 'alpha'); } else { $order = "asc"; } - if (GETPOST('order')) { - switch (GETPOST('order')) { + if (GETPOST('order', 'alpha')) { + switch (GETPOST('order', 'alpha')) { case "mtime": case "size": case "reloads":