On my server I have notices turned on, I was noticing that I get the following errors when I select the "Add User" link from the users page.
Code:
Notice: Undefined index: user in /views/default/users/manage.php on line 8
Notice: Undefined index: user in /views/default/users/manage.php on line 14
Notice: Trying to get property of non-object in /views/default/users/manage.php on line 14
Notice: Undefined index: user in /views/default/users/manage.php on line 27
Notice: Trying to get property of non-object in /views/default/users/manage.php on line 27
I have gone in and added isset($view['user']) functions throughout the code, is there a better way to handle this?