patch #2682833 [core] Fatal error: Call to a member function isDisplayed()

This commit is contained in:
Marc Delisle
2009-03-22 12:25:17 +00:00
parent a10dc103c0
commit 3b1e2d68dc
2 changed files with 3 additions and 1 deletions

View File

@@ -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;
}
}