Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #563 from tatankat/fix_switchback
Browse files Browse the repository at this point in the history
Use same parameters in Set-Cookie for deletion as for creation, other…
  • Loading branch information
zegenie committed Apr 16, 2020
2 parents 30b1dae + 2d8f361 commit 56f1119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/framework/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ public function setSessionCookie($key, $value)
*/
public function deleteCookie($key)
{
setcookie($key, '', NOW - 36000, (Context::getWebroot() != '/') ? Context::getWebroot() : '');
$this->setCookie($key, '', NOW - 36000);
return true;
}

Expand Down

0 comments on commit 56f1119

Please sign in to comment.