Skip to content
Snippets Groups Projects
Commit 8e985b3f authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #319406 by AlexisWilke, Dave Reid, Damien Tournoud, kbahey: should...

- Patch #319406 by AlexisWilke, Dave Reid, Damien Tournoud, kbahey:  should only be cleared in the parent watchdog() call.
parent 96dc4766
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -930,8 +930,11 @@ function watchdog($type, $message, $variables = array(), $severity = WATCHDOG_NO
foreach (module_implements('watchdog', TRUE) as $module) {
module_invoke($module, 'watchdog', $log_message);
}
// It is critical that the semaphore is only cleared here, in the parent
// watchdog() call (not outside the loop), to prevent recursive execution.
$in_error_state = FALSE;
}
$in_error_state = FALSE;
}
/**
......
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