diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-01-20 00:47:47 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-01-20 00:47:47 +0000 |
commit | 09ed948a2566624fa93b39a8e60c500959d1ee60 (patch) | |
tree | 8a8961b49d3d58240bb1286deb48d6cceb0869c5 | |
parent | 79b740acc1ad13a422e4af286da60420b6bb8892 (diff) | |
download | brdo-09ed948a2566624fa93b39a8e60c500959d1ee60.tar.gz brdo-09ed948a2566624fa93b39a8e60c500959d1ee60.tar.bz2 |
#291026 follow-up by Dave Reid: Fix incorrect variable name.
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index c2a22c899..a37bbf670 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -800,7 +800,7 @@ function _drupal_log_error($error, $fatal = FALSE) { // Force display of error messages in update.php or if the proper error // reporting level is set. $error_level = variable_get('error_level', 2); - if ($error_level == 2 || ($error_level == 1 && $type != 'Notice') || (defined('MAINTENANCE_MODE') && MAINTENANCE_MODE == 'update')) { + if ($error_level == 2 || ($error_level == 1 && $error['%type'] != 'Notice') || (defined('MAINTENANCE_MODE') && MAINTENANCE_MODE == 'update')) { drupal_set_message(t('%type: %message in %function (line %line of %file).', $error), 'error'); } |