diff --git a/ChangeLog b/ChangeLog index 623051c40b..5d242cf513 100644 --- a/ChangeLog +++ b/ChangeLog @@ -44,6 +44,7 @@ phpMyAdmin - ChangeLog - bug #4743 Unable to move cursor with keyboard in filter rows box - bug Incorrect link in doc - bug #4745 Tracking does not handle views properly +- bug #4706 Schema export doesn't handle dots in db/table name 4.3.8.0 (2015-01-24) - bug Undefined constant PMA_DRIZZLE diff --git a/libraries/plugins/schema/Export_Relation_Schema.class.php b/libraries/plugins/schema/Export_Relation_Schema.class.php index 7d7a7adeba..fc142290cf 100644 --- a/libraries/plugins/schema/Export_Relation_Schema.class.php +++ b/libraries/plugins/schema/Export_Relation_Schema.class.php @@ -240,9 +240,9 @@ class PMA_Export_Relation_Schema protected function getTablesFromRequest() { $tables = array(); + $dbLength = mb_strlen($GLOBALS['db']); foreach ($_REQUEST['t_h'] as $key => $value) { - list(, $table) = explode(".", $key); - $tables[] = $table; + $tables[] = mb_substr($key, $dbLength + 1); } return $tables; }