Signed-off-by: Peter Spicer <[email protected]>
@@ -2829,7 +2829,7 @@ function profileLoadAvatarData()
// Second level selected avatar...
$context['avatar_selected'] = substr(strrchr($context['member']['avatar']['server_pic'], '/'), 1);
- return true;
+ return !empty($context['member']['avatar']['allow_server_stored']) || !empty($context['member']['avatar']['allow_external']) || !empty($context['member']['avatar']['allow_upload']);
}
/**