fix bug on recent_photos.html if there are no friends
update