SmItH197 / SteamAuthentication

A simple PHP Authentication that enables steam users to log into their steam account to access content!
MIT License
445 stars 144 forks source link

add || empty to example #231

Closed radek3911 closed 3 years ago

radek3911 commented 6 years ago

this should add a little security

RedSparr0w commented 6 years ago

We could also just use empty() instead.

A variable is considered empty if it does not exist or if its value equals FALSE. empty() does not generate a warning if the variable does not exist.

radek3911 commented 6 years ago

Like without the !isset yea that would work too.

radek3911 commented 6 years ago

Sorry for the commit spam, I don't know how to revert commit in the web version.

radek3911 commented 3 years ago

Closing PR after no activity.