pyrocms/pyrocms — pull request #1861 by jHoldroyd (2012-09-17 19:28:01+00:00)
Title: 2.2/develop

We found an issue with the user field type where it would presume that a user would be found, so if a user was deleted or an ID was changed it would start throwing the below warnings on lines 128-131:

A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: user/field.user.php
Line Number: 129

It now performs a check to ensure that the $user array is not empty and returns false if it is.