Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
chris001 committed Mar 8, 2024
1 parent c041749 commit c18af35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/MVC/SugarApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -813,8 +813,8 @@ public static function setCookie(
}

if (!headers_sent()) {
setcookie($name, $value, ["expire" => $expire, "path" => $path, "domain"=>$domain,
"secure"=>$secure, "httponly"=>$httponly, "samesite"=>$samesite]);
setcookie($name, $value, ["expires" => $expire, "path" => $path, "domain" => $domain,
"secure" => $secure, "httponly" => $httponly, "samesite" => $samesite]);
}

$_COOKIE[$name] = $value;
Expand Down

0 comments on commit c18af35

Please sign in to comment.