Skip to content

Commit 6a5cb9f

Browse files
committed
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <[email protected]>
2 parents 24d18b9 + 893d4cd commit 6a5cb9f

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

ChangeLog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ phpMyAdmin - ChangeLog
3434
- issue #17543 Fix JS error on saving a new designer page
3535
- issue #17546 Fix JS error after using save as and open page operation on the designer
3636
- issue Fix PHP warning on GIS visualization when there is only one GIS column
37+
- issue #17728 Some select HTML tags will now have the correct UI style
38+
- issue #17734 PHP deprecations will only be shown when in a development environment
3739

3840
5.2.0 (2022-05-10)
3941
- issue #16521 Upgrade Bootstrap to version 5

libraries/classes/ErrorHandler.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,11 @@ public function addError(
277277
$error = new Error($errno, $errstr, $errfile, $errline);
278278
$error->setHideLocation($this->hideLocation);
279279

280-
// do not repeat errors
281-
$this->errors[$error->getHash()] = $error;
280+
// Deprecation errors will be shown in development environment, as they will have a different number.
281+
if ($error->getNumber() !== E_DEPRECATED) {
282+
// do not repeat errors
283+
$this->errors[$error->getHash()] = $error;
284+
}
282285

283286
switch ($error->getNumber()) {
284287
case E_STRICT:

0 commit comments

Comments
 (0)