Improved cookie management 🍪 (#1171)

This commit is contained in:
Roman Kelesidis 2023-11-27 19:18:03 +03:00 committed by GitHub
commit bb20d523b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 97 additions and 102 deletions

View file

@ -211,7 +211,7 @@ if (!empty($bb_cfg['page']['show_torhelp'][BB_SCRIPT]) && !empty($userdata['torh
if (TIMENOW > $ignore_time) {
if ($ignore_time) {
bb_setcookie('torhelp', '', COOKIE_EXPIRED);
bb_setcookie('torhelp', null);
}
$sql = "