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

@@ -13,6 +13,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
- rfe #2127983 Readd documentation link, it does not protect against anything.
- bug #1675249 [doc] Apache reverse proxy and cookies FAQ
- bug #2682140 UUID() and CURRENT_USER() should not accept arguments
- patch #2682833 [core] Fatal error: Call to a member function isDisplayed(),
thanks to Christian Rodriguez - judas_iscariote
3.1.3.0 (2009-02-28)
+ [lang] Turkish update, thanks to Burak Yavuz

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