diff --git a/Sources/ErrorHandler.php b/Sources/ErrorHandler.php index 4633b2cf86..f0b7d33942 100644 --- a/Sources/ErrorHandler.php +++ b/Sources/ErrorHandler.php @@ -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); }