Fixed Undefined variable $wordCensor (#1400)

* Fixed Undefined variable $wordCensor

* Update CHANGELOG.md
This commit is contained in:
Roman Kelesidis 2024-02-12 17:34:05 +07:00 committed by GitHub
commit a965209be0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -11,7 +11,7 @@ if (!defined('IN_AJAX')) {
die(basename(__FILE__));
}
global $lang, $bb_cfg, $userdata;
global $lang, $bb_cfg, $userdata, $wordCensor;
if (!isset($this->request['type'])) {
$this->ajax_die('empty type');