Table export is generated with not PHP notices or warnings
The table export is generated but two PHP notices and a warning appear:
Notice in ./libraries/navigation/NavigationTree.php#196 Undefined index: dbs_to_test
Notice in ./libraries/navigation/NavigationTree.php#217 Undefined index: dbs_to_test
Warning in ./libraries/navigation/NavigationTree.php#217 Invalid argument supplied for foreach()
Operating system: CentOS
Web server: Apache 2.2
Database: MySQL 5.6
PHP version: 7.0.14
phpMyAdmin version: 220.127.116.11 and 4.7.0-dev
Operating system: Win 7
Fix PHP Notices and Warning when exporting a table.
Signed-off-by: Tim McLaughlin <email@example.com>
The notices/warnings also appear if you reload some of the table pages. For example, go to one of these table pages: SQL (tbl_sql.php), Insert (tbl_change.php), Export (tbl_export.php), Import (tbl_import.php). When you click the browser reload button the notices appear.
Fix PHP notices and warning related to dbs_to_test global.
Changelog entry for #12876 and #12885
Signed-off-by: Michal Čihař <firstname.lastname@example.org>
Fixed by #12885