Skip to content

replace setcookie value with '' instead of null. - #11096

Merged
rullzer merged 1 commit into
masterfrom
bugfix/11080/set-cookie-null-argument
Sep 7, 2018
Merged

replace setcookie value with '' instead of null.#11096
rullzer merged 1 commit into
masterfrom
bugfix/11080/set-cookie-null-argument

Conversation

@MartB

@MartBMartB commented Sep 6, 2018

Copy link
Copy Markdown
Member

The php documentation states that an empty string should be used for a cookie when it has no real value.
null leads to the following error: expects parameter 2 to be string, null given

Fixes#11080

The php documentation states that an empty string should be used for a cookie when it has no real value.
null leads to the following error: expects parameter 2 to be string, null given
Signed-off-by: Martin Böh <mart.b@outlook.de>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@MartB@rullzer@ChristophWurst@blizzz