From a728c170a1c8624019794768fc586f47c7f7be03 Mon Sep 17 00:00:00 2001 From: John Rayes Date: Sun, 15 Dec 2024 01:58:31 -0700 Subject: [PATCH] Config::$modSettings['disabledBBC'] might not be set --- Sources/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Parser.php b/Sources/Parser.php index 7f779c8549..9021c04631 100644 --- a/Sources/Parser.php +++ b/Sources/Parser.php @@ -749,7 +749,7 @@ protected static function getCacheKey(string $string, int $input_types, int $out self::$time_format, // BBCode settings. self::getBBCodes(), - Config::$modSettings['disabledBBC'], + Config::$modSettings['disabledBBC'] ?? '', self::$enable_post_html, // Smiley settings. SmileyParser::loadData(self::$smiley_set),