Skip to content
Snippets Groups Projects
Commit 4af96a6a authored by catch's avatar catch
Browse files

Issue #2947291 by pounard, markus_petrux: Missing argument 5 for _drupal_error_handler()

parent aa397488
No related branches found
No related tags found
No related merge requests found
...@@ -572,14 +572,14 @@ function drupal_get_user_timezone() { ...@@ -572,14 +572,14 @@ function drupal_get_user_timezone() {
* @param $message * @param $message
* The error message. * The error message.
* @param $filename * @param $filename
* The filename that the error was raised in. * (optional) The filename that the error was raised in.
* @param $line * @param $line
* The line number the error was raised at. * (optional) The line number the error was raised at.
* @param $context * @param $context
* An array that points to the active symbol table at the point the error * (optional) An array that points to the active symbol table at the point the
* occurred. * error occurred.
*/ */
function _drupal_error_handler($error_level, $message, $filename, $line, $context) { function _drupal_error_handler($error_level, $message, $filename = NULL, $line = NULL, $context = NULL) {
require_once __DIR__ . '/errors.inc'; require_once __DIR__ . '/errors.inc';
_drupal_error_handler_real($error_level, $message, $filename, $line, $context); _drupal_error_handler_real($error_level, $message, $filename, $line, $context);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment