]> git.joonet.de Git - adminer.git/commitdiff
Fix style
authorJakub Vrana <jakub@vrana.cz>
Sun, 6 Dec 2020 11:37:00 +0000 (12:37 +0100)
committerJakub Vrana <jakub@vrana.cz>
Sun, 6 Dec 2020 11:53:27 +0000 (12:53 +0100)
adminer/drivers/clickhouse.inc.php

index ccb4c697dfdd2c9f18abb3b734ff41c4679f587a..d72109d5becfe79354079d8c479b16f71d98ce8c 100644 (file)
@@ -306,7 +306,7 @@ if (isset($_GET["clickhouse"])) {
        function fields($table) {
                $return = array();
                $result = get_rows("SELECT name, type, default_expression FROM system.columns WHERE " . idf_escape('table') . " = " . q($table));
-               foreach($result as $row) {
+               foreach ($result as $row) {
                        $type = trim($row['type']);
                        $nullable = strpos($type, 'Nullable(') === 0;
                        $return[trim($row['name'])] = array(