From ed850963670988f370e9a40ad4001d5abbe8bc8e Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 28 Dec 2010 12:32:47 +0100 Subject: [PATCH] Avoid double usage of fieldName function --- editor/include/adminer.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/include/adminer.inc.php b/editor/include/adminer.inc.php index 07e99932..9d9b87e5 100644 --- a/editor/include/adminer.inc.php +++ b/editor/include/adminer.inc.php @@ -241,7 +241,7 @@ ORDER BY ORDINAL_POSITION", null, "") as $row) { //! requires MySQL 5 foreach ($indexes as $key => $index) { $order = array(); foreach ($index["columns"] as $val) { - $order[] = $this->fieldName(array("field" => $val, "comment" => $columns[$val])); + $order[] = $columns[$val]; } if (count(array_filter($order, 'strlen')) > 1 && $key != "PRIMARY") { $orders[$key] = implode(", ", $order);