re-establish previous error reporting

This commit is contained in:
Marc Delisle
2006-02-19 14:27:39 +00:00
parent 7a22937583
commit c7bb1d9871
2 changed files with 5 additions and 0 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2006-02-19 Marc Delisle <lem9@users.sourceforge.net>
* libraries/common.lib.php: re-establish previous error reporting mode
2006-02-19 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* libraries/common.lib.php PMA_getUvaCondition():
- fixed missing $analyzed_sql (partly bug #1431615)

View File

@@ -45,6 +45,8 @@ if (defined('E_STRICT')) {
$old_error_reporting = error_reporting(0);
if ($old_error_reporting & E_STRICT) {
error_reporting($old_error_reporting ^ E_STRICT);
} else {
error_reporting($old_error_reporting);
}
unset($old_error_reporting);
}