diff --git a/db_operations.php b/db_operations.php index 97561b1601d3..0bdb94f046bf 100644 --- a/db_operations.php +++ b/db_operations.php @@ -81,8 +81,8 @@ $tables_full, $export_sql_plugin, $move, $db ); - $views = PMA_getViewsAndCreateSqlViewStandIn( - $tables_full, $export_sql_plugin + $views = PMA_getViewsAndCreateSqlViewStandIn( + $tables_full, $export_sql_plugin, $db ); list($sql_query, $_error) = PMA_getSqlQueryForCopyTable(