diff --git a/ChangeLog b/ChangeLog index e629132d77..da60262d3a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ phpMyAdmin - ChangeLog - bug Once checked "Show only active" checkbox is always checked - issue #1813 Delete rows using "Check All" is broken - Fix PHP 7 possible binding ambiguity +- issue #11326 Exported schema includes all the tables of the database 4.4.12.0 (2015-07-20) - bug Saved chart image does not have a proper name or an extension diff --git a/libraries/plugins/schema/Export_Relation_Schema.class.php b/libraries/plugins/schema/Export_Relation_Schema.class.php index fc142290cf..d3618f0568 100644 --- a/libraries/plugins/schema/Export_Relation_Schema.class.php +++ b/libraries/plugins/schema/Export_Relation_Schema.class.php @@ -242,7 +242,9 @@ class PMA_Export_Relation_Schema $tables = array(); $dbLength = mb_strlen($GLOBALS['db']); foreach ($_REQUEST['t_h'] as $key => $value) { - $tables[] = mb_substr($key, $dbLength + 1); + if ($value) { + $tables[] = mb_substr($key, $dbLength + 1); + } } return $tables; }