summaryrefslogtreecommitdiff
path: root/includes/errors.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/errors.inc')
-rw-r--r--includes/errors.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/errors.inc b/includes/errors.inc
index a171debb0..7b5a44241 100644
--- a/includes/errors.inc
+++ b/includes/errors.inc
@@ -201,7 +201,7 @@ function _drupal_log_error($error, $fatal = FALSE) {
// Display the message if the current error reporting level allows this type
// of message to be displayed, and unconditionnaly in update.php.
$error_level = variable_get('error_level', ERROR_REPORTING_DISPLAY_ALL);
- $display_error = $error_level == ERROR_REPORTING_DISPLAY_ALL || ($error_level == ERROR_REPORTING_DISPLAY_SOME && $error['%type'] != 'Notice');
+ $display_error = $error_level == ERROR_REPORTING_DISPLAY_ALL || ($error_level == ERROR_REPORTING_DISPLAY_SOME && $error['%type'] != 'Notice' && $error['%type'] != 'Strict warning');
if ($display_error || (defined('MAINTENANCE_MODE') && MAINTENANCE_MODE == 'update')) {
$class = 'error';