[eluser]codemonkey[/eluser]
Code:
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/login.php
Line Number: 59
Maybe I'm going at this completely wrong. All I want to do is after the user logs in, verify there user_type and direct them to the correct controller function.
I'm running this code in the login controller just after it verifies they have an account.
Should I scrap it and try something else?