diff --git a/adminer/select.inc.php b/adminer/select.inc.php index c97e112d..887ba0f9 100644 --- a/adminer/select.inc.php +++ b/adminer/select.inc.php @@ -254,7 +254,8 @@ if (!$columns) { if ($name != "") { $rank++; $names[$key] = $name; - echo '' . apply_sql_function($val["fun"], $name) . ""; //! columns looking like functions + $column = idf_escape($key); + echo '' . apply_sql_function($val["fun"], $name) . ""; // $order[0] == $key - COUNT(*) //! columns looking like functions } $functions[$key] = $val["fun"]; next($select);