Skip to content

Commit

Permalink
Merge pull request #8041 from RainRat/ErrorHandler.php
Browse files Browse the repository at this point in the history
Update ErrorHandler.php
  • Loading branch information
Sesquipedalian authored Feb 1, 2024
2 parents bb26f1f + 9d46db2 commit 3c26744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ public static function fatalLang(string $error, string|bool $log = 'general', ar
}

// Send a custom header if we have a custom message.
if (isset($_REQUEST['js']) || isset($_REQUEST['xml']) || isset($_RQEUEST['ajax'])) {
if (isset($_REQUEST['js']) || isset($_REQUEST['xml']) || isset($_REQUEST['ajax'])) {
header('X-SMF-errormsg: ' . $error_message);
}

Expand Down

0 comments on commit 3c26744

Please sign in to comment.