Merge pull request #14208 from CommanderRoot/patch-1

Fix errors due to undefined variables
This commit is contained in:
Maurício Meneghini Fauth 2018-04-19 03:54:44 -03:00 committed by GitHub
commit ea5c066d5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -219,7 +219,7 @@ Core::setGlobalDbOrTable('table');
* Store currently selected recent table.
* Affect $GLOBALS['db'] and $GLOBALS['table']
*/
if (Core::isValid($_REQUEST['selected_recent_table'])) {
if (isset($_REQUEST['selected_recent_table']) && Core::isValid($_REQUEST['selected_recent_table'])) {
$recent_table = json_decode($_REQUEST['selected_recent_table'], true);
$GLOBALS['db']