patch #2682833 [core] Fatal error: Call to a member function isDisplayed()
This commit is contained in:
@@ -57,7 +57,7 @@ class PMA_Error_Handler
|
||||
} else {
|
||||
// remember only not displayed errors
|
||||
foreach ($this->_errors as $key => $error) {
|
||||
if (! $error->isDisplayed()) {
|
||||
if (($error instanceof PMA_Error) && ! $error->isDisplayed()) {
|
||||
$_SESSION['errors'][$key] = $error;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user