diff --git a/ChangeLog b/ChangeLog index 5ae338808b..46dbd9658a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20,6 +20,7 @@ phpMyAdmin - ChangeLog 4.5.3.0 (not yet released) - issue #11664 Online syntax verifier bug - "IF" on SELECT statement - issue #11665 Format breaks query with COUNT() +- issue Undefinex index: SendErrorReports 4.5.2.0 (not yet released) - issue #11589 Incorrect parameter in mysqli_fetch_fields() diff --git a/libraries/ErrorHandler.php b/libraries/ErrorHandler.php index 72355dc99a..bbd6f0c071 100644 --- a/libraries/ErrorHandler.php +++ b/libraries/ErrorHandler.php @@ -288,6 +288,10 @@ class ErrorHandler */ public function getDispErrors() { + // Not sure why but seen in reports.phpmyadmin.net + if (empty($GLOBALS['cfg']['SendErrorReports'])) { + $GLOBALS['cfg']['SendErrorReports'] = 'ask'; + } $retval = ''; // display errors if SendErrorReports is set to 'ask'. if ($GLOBALS['cfg']['SendErrorReports'] != 'never') {