Projet

Général

Profil

Révision 5587145e

Ajouté par Assos Assos il y a presque 7 ans

Update to 7.56

Voir les différences:

drupal7/includes/errors.inc
66 66
    _drupal_log_error(array(
67 67
      '%type' => isset($types[$error_level]) ? $severity_msg : 'Unknown error',
68 68
      // The standard PHP error handler considers that the error messages
69
      // are HTML. We mimick this behavior here.
69
      // are HTML. We mimic this behavior here.
70 70
      '!message' => filter_xss_admin($message),
71 71
      '%function' => $caller['function'],
72 72
      '%file' => $caller['file'],
......
114 114
  return array(
115 115
    '%type' => get_class($exception),
116 116
    // The standard PHP exception handler considers that the exception message
117
    // is plain-text. We mimick this behavior here.
117
    // is plain-text. We mimic this behavior here.
118 118
    '!message' => check_plain($message),
119 119
    '%function' => $caller['function'],
120 120
    '%file' => $caller['file'],
......
233 233
  }
234 234
  else {
235 235
    // Display the message if the current error reporting level allows this type
236
    // of message to be displayed, and unconditionnaly in update.php.
236
    // of message to be displayed, and unconditionally in update.php.
237 237
    if (error_displayable($error)) {
238 238
      $class = 'error';
239 239

  

Formats disponibles : Unified diff