summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/core/Input.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Input.php b/system/core/Input.php
index 9bde8a4f6..a2cc23936 100644
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -360,7 +360,7 @@ class CI_Input {
$samesite = 'Lax';
}
- if ($samesite === 'None' && !$secure)
+ if ($samesite === 'None' && ! $secure)
{
log_message('error', $name.' is a non-secure cookie sent with SameSite=None. It can be discarded by the browser.');
}