Skip to content

fixed the optional element conditions#9

Open
fieteboerner wants to merge 1 commit intoTorann:masterfrom
fieteboerner:fix-optional-values
Open

fixed the optional element conditions#9
fieteboerner wants to merge 1 commit intoTorann:masterfrom
fieteboerner:fix-optional-values

Conversation

@fieteboerner
Copy link

the !== null will never return false because the htmlspecialchars will return an
empty string instead of null, if no value is given
So the element will be rendered even if no value is given.

the !== null is not working because the htmlspecialchars will return an
empty string instead of null if no value is given
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant