diff options
Diffstat (limited to 'includes/update.inc')
-rw-r--r-- | includes/update.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/update.inc b/includes/update.inc index d1993e0c3..d2ba9c1a6 100644 --- a/includes/update.inc +++ b/includes/update.inc @@ -883,7 +883,8 @@ function update_do_one($module, $number, $dependency_map, &$context) { require_once DRUPAL_ROOT . '/includes/errors.inc'; $variables = _drupal_decode_exception($e); - $ret['#abort'] = array('success' => FALSE, 'query' => t('%type: %message in %function (line %line of %file).', $variables)); + // The exception message is run through check_plain() by _drupal_decode_exception(). + $ret['#abort'] = array('success' => FALSE, 'query' => t('%type: !message in %function (line %line of %file).', $variables)); } } |