fix: Null $bb_cfg['tp_instance_hash'] (#1790)

This commit is contained in:
Roman Kelesidis 2025-02-02 08:32:26 +03:00 committed by GitHub
commit 602137b651
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -397,7 +397,7 @@ $userdata =& $user->data;
/**
* Some shared defines
*/
define('TP_INSTANCE_HASH', $bb_cfg['tp_instance_hash']);
define('TP_INSTANCE_HASH', !empty($bb_cfg['tp_instance_hash']) ? $bb_cfg['tp_instance_hash'] : '');
/**
* Cron