diff --git a/ds.module b/ds.module index 0219612..00a82c3 100644 --- a/ds.module +++ b/ds.module @@ -1295,7 +1295,7 @@ function ds_return_picture($entity) { // Gravatar support. if (module_exists('gravatar')) { if (!isset($entity->mail)) { - $entity->mail = ''; + $entity = _gravatar_load_account($entity); } $entity->picture = _gravatar_get_account_user_picture($entity); }