View Single Post
  #1 (permalink)  
Old February 2nd, 2011, 03:21 PM
harpua harpua is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: Oklahoma City, Oklahoma, USA.
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapt 22 - manage.php

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?
Reply With Quote