Skip to content

Commit

Permalink
Fix. Security Firewall. Log admin actions fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Glomberg committed May 27, 2024
1 parent 0d17ba9 commit f36c0c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/spbc-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ function spbc_get_secure_cookies()
throw new Exception('SPBC: Secure cookies does not get (cookies was malformed).');
} else {
foreach ($cookie_test['cookies_names'] as $cookie_name) {
if (Cookie::get($cookie_name)) {
if (Cookie::get($cookie_name) !== '') {
$cookie_name_prepared = str_replace('spbc_', '', $cookie_name);
$secure_cookies[ $cookie_name_prepared ] = Cookie::get($cookie_name);
}
Expand Down

0 comments on commit f36c0c9

Please sign in to comment.