Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--libraries/classes/ErrorHandler.php7
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 067f026d71..b5deda5f49 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -34,6 +34,8 @@ phpMyAdmin - ChangeLog
- issue #17543 Fix JS error on saving a new designer page
- issue #17546 Fix JS error after using save as and open page operation on the designer
- issue Fix PHP warning on GIS visualization when there is only one GIS column
+- issue #17728 Some select HTML tags will now have the correct UI style
+- issue #17734 PHP deprecations will only be shown when in a development environment
5.2.0 (2022-05-10)
- issue #16521 Upgrade Bootstrap to version 5
diff --git a/libraries/classes/ErrorHandler.php b/libraries/classes/ErrorHandler.php
index 07b0eed485..8151281bc9 100644
--- a/libraries/classes/ErrorHandler.php
+++ b/libraries/classes/ErrorHandler.php
@@ -277,8 +277,11 @@ class ErrorHandler
$error = new Error($errno, $errstr, $errfile, $errline);
$error->setHideLocation($this->hideLocation);
- // do not repeat errors
- $this->errors[$error->getHash()] = $error;
+ // Deprecation errors will be shown in development environment, as they will have a different number.
+ if ($error->getNumber() !== E_DEPRECATED) {
+ // do not repeat errors
+ $this->errors[$error->getHash()] = $error;
+ }
switch ($error->getNumber()) {
case E_STRICT: