From fc2fdf0213ad6017849d3cb690e8fbbf82a25eab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Mon, 9 Feb 2015 20:32:40 +0100 Subject: [PATCH] add condition for NO_AVATAR --- .../files/lib/system/condition/UserAvatarCondition.class.php | 1 + 1 file changed, 1 insertion(+) 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: -- 2.20.1