joomla/joomla-platform — pull request #1741 by fanno (2012-12-07 21:21:38+00:00)
Title: JUser bind

...w users because the values are not yet set, Fixed by moving the check below setProperties

also see:
https://groups.google.com/forum/?fromgroups=#!topic/joomlabugsquad/ggmaWUzb-lM

This is my first pull request so bare with me