From: quix0r Date: Sun, 21 Oct 2012 15:49:19 +0000 (+0000) Subject: Fix for non-working ordering (pages are not yet supported, but may follow) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ec87c0369592bae5fb9aa5648d6b833bfbd842d8;p=mailer.git Fix for non-working ordering (pages are not yet supported, but may follow) --- diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index 5ddcf36369..bbd60234bd 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -1918,7 +1918,7 @@ function doGenericListEntries ($tableTemplate, $rowTemplate, $noEntryMessageId, foreach ($orderByColumns as $orderByColumn => $array) { // Get keys (table/alias) and values (sorting itself) $table = trim(implode('', array_keys($array))); - $sorting = trim(implode('', array_keys($array))); + $sorting = trim(implode('', array_values($array))); // table/alias can be omitted if (!empty($table)) {