]> git.joonet.de Git - adminer.git/commitdiff
Save bytes
authorJakub Vrana <jakub@vrana.cz>
Mon, 24 Jun 2013 12:53:48 +0000 (05:53 -0700)
committerJakub Vrana <jakub@vrana.cz>
Mon, 24 Jun 2013 12:53:48 +0000 (05:53 -0700)
adminer/drivers/mysql.inc.php

index 552230ddcfd1b5f28ff94b134624b0aaddaddf6c..6388d9b71b0a9c7436a92e51e6c3ae37d670c0fd 100644 (file)
@@ -396,7 +396,7 @@ if (!defined("DRIVER")) {
        * @return bool
        */
        function is_view($table_status) {
-               return !isset($table_status["Engine"]);
+               return $table_status["Engine"] === null;
        }
 
        /** Check if table supports foreign keys