diff --git a/core/includes/errors.inc b/core/includes/errors.inc index 34d2147..8b16e4d 100644 --- a/core/includes/errors.inc +++ b/core/includes/errors.inc @@ -174,7 +174,7 @@ function _drupal_log_error($error, $fatal = FALSE) { // Ensure to log out to error log for fatals, so developers can find the // problems. if ($fatal) { - error_log(sprintf('%s: %s in %s on line %d', $error['%type'], $error['!message'], $error['%file'], $error['%line'])); + error_log(sprintf('%s: %s in %s on line %d', $error['%type'], $error['@message'], $error['%file'], $error['%line'])); } if (PHP_SAPI === 'cli') {