Skip to content

Commit

Permalink
setcookie() Passing null to parameter phalcon#2 ($value) of type stri…
Browse files Browse the repository at this point in the history
…ng is deprecated
  • Loading branch information
sinbadxiii committed Aug 11, 2022
1 parent 73a04d9 commit c34802b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phalcon/Http/Cookie.zep
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class Cookie extends AbstractInjectionAware implements CookieInterface
options["secure"] = this->getArrVal(options, "secure", secure),
options["httponly"] = this->getArrVal(options, "httponly", httpOnly);

setcookie(name, null, options);
setcookie(name, "", options);
}

/**
Expand Down

0 comments on commit c34802b

Please sign in to comment.