Commit bde62946 authored by Dave Reid's avatar Dave Reid

#321883 by neilnz: Fixed broken watchdog() in backtrace error handler.

parent fefa2039
......@@ -329,7 +329,7 @@ function backtrace_error_handler($errno, $message, $filename, $line) {
krumo($nicetrace);
}
watchdog('php', '%message in %file on line %line.', array('%error' => $types[$errno], '%message' => $message, '%file' => $filename, '%line' => $line), WATCHDOG_ERROR);
watchdog('php', t('%message in %file on line %line.', array('%error' => $types[$errno], '%message' => $message, '%file' => $filename, '%line' => $line)), WATCHDOG_ERROR);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment