This commit is contained in:
Laurent Destailleur 2019-08-21 13:12:37 +02:00
parent eb0644c6f4
commit 70dc68426b

View File

@ -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":