Skip to content

Commit

Permalink
Issue backdrop-contrib#141: Fix PHP 8.1 issue on backtrace_error_hand…
Browse files Browse the repository at this point in the history
…ler()

By @yorkshire-pudding and @alanmels.
  • Loading branch information
yorkshire-pudding authored and Jen Lampton committed Apr 21, 2023
1 parent a1a54c0 commit 11694ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devel.module
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ function devel_boot() {
* An array that points to the active symbol table at the point the error
* occurred.
*/
function backtrace_error_handler($error_level, $message, $filename, $line, $context) {
function backtrace_error_handler($error_level, $message, $filename, $line, $context = NULL) {
// Hide stack trace and parameters from unqualified users.
if (!user_access('access devel information')) {
// Do what core does in bootstrap.inc and errors.inc.
Expand Down

0 comments on commit 11694ff

Please sign in to comment.