booruguru / UserPie

PHP login script / user authentication framework
http://userpie.com
Other
137 stars 52 forks source link

changes in isUserLogedIn() #17

Closed javiermadueno closed 9 years ago

javiermadueno commented 11 years ago

In function isUserLoggedIn() check if the object $loggedInUser is NULL before accessing it to avoid an error in the $sql query.