]> git.joonet.de Git - adminer.git/commitdiff
Use standard view detection in schema
authorJakub Vrana <jakub@vrana.cz>
Sat, 27 Apr 2013 02:11:42 +0000 (19:11 -0700)
committerJakub Vrana <jakub@vrana.cz>
Sat, 27 Apr 2013 02:34:15 +0000 (19:34 -0700)
adminer/schema.inc.php

index fd1171f08f51942421227ac11c55edc4ba793ba6..5e9010421ebd5203e690e353322789d871b55a47 100644 (file)
@@ -17,7 +17,7 @@ $schema = array(); // table => array("fields" => array(name => field), "pos" =>
 $referenced = array(); // target_table => array(table => array(left => target_column))
 $lefts = array(); // float => bool
 foreach (table_status() as $table => $table_status) {
-       if (!isset($table_status["Engine"])) { // view
+       if (is_view($table_status)) {
                continue;
        }
        $pos = 0;