Skip to content

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

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

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

Conversation

@MartB
Copy link
Member

@MartB MartB commented Sep 6, 2018

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 free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants