If a member does not have a profile photo, with this setting enabled the system will use the member's logo as a profile photo - and vice versa.
Navigate to Settings >> Advanced Settings and search for:
Member Logo As Backup
Database Variable: override_profile_photo