Elgg/Elgg — pull request #483 by arsalanshah (2013-01-02 17:02:18+00:00)
Title: Fix a getIconUrl() on a non-object

Fix Fatal error: Call to a member function getIconUrl() on a non-object in /views/default/core/avatar/upload.php on line 10

if no $vars['entity'] forward user to referred page