Skip to content

Commit

Permalink
Fix: Undefined index: samesite
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten authored and bryanjhv committed Jul 2, 2021
1 parent c6db3be commit f776db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SlimSession/Cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ private static function call($params, $set)
];

$new = PHP_VERSION_ID >= 70300;
$samesite = $params['samesite'];
$samesite = @$params['samesite'];
if ($new) {
$args['samesite'] = $samesite;
if ($set) {
Expand Down

0 comments on commit f776db9

Please sign in to comment.