From: Joshua Rüsweg Date: Mon, 9 Feb 2015 19:32:40 +0000 (+0100) Subject: add condition for NO_AVATAR X-Git-Tag: 2.1.0_RC_1~26^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fc2fdf0213ad6017849d3cb690e8fbbf82a25eab;p=GitHub%2FWoltLab%2FWCF.git add condition for NO_AVATAR --- diff --git a/wcfsetup/install/files/lib/system/condition/UserAvatarCondition.class.php b/wcfsetup/install/files/lib/system/condition/UserAvatarCondition.class.php index f20fd00e0b..634fbc29a4 100644 --- a/wcfsetup/install/files/lib/system/condition/UserAvatarCondition.class.php +++ b/wcfsetup/install/files/lib/system/condition/UserAvatarCondition.class.php @@ -51,6 +51,7 @@ class UserAvatarCondition extends AbstractSelectCondition implements IContentCon switch ($condition->userAvatar) { case self::NO_AVATAR: $userList->getConditionBuilder()->add('user_table.avatarID IS NULL'); + $userList->getConditionBuilder()->add('user_table.enableGravatar = ?', array(0)); break; case self::AVATAR: