diff --git a/adminer/select.inc.php b/adminer/select.inc.php index 0db2463b..14f1c8ac 100644 --- a/adminer/select.inc.php +++ b/adminer/select.inc.php @@ -33,7 +33,7 @@ foreach ($fields as $key => $field) { function apply_sql_function($function, $column) { return ($function - ? ($function == "distinct" ? "COUNT(DISTINCT " : strtoupper("$function(") . "$column)") + ? ($function == "distinct" ? "COUNT(DISTINCT " : strtoupper("$function(")) . "$column)" : $column ); }