Browse files

Fixing loading users list for groups

  • Loading branch information...
1 parent 3a4fd18 commit a0a231263e9c555a7cc3763b57bcca7238856341 Tom Rawcliffe committed Mar 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 application/Model/Group/User/List.inc.php
View
2 application/Model/Group/User/List.inc.php
@@ -20,7 +20,7 @@ public function load($groupId, $includeOptOut=false)
if (!$includeOptOut)
{
$joins = "INNER JOIN Users u ON u.id = gu.user_id";
- $where = "AND u.optOut != 1 OR u.optOut IS NULL";
+ $where = "AND (u.optOut != 1 OR u.optOut IS NULL)";
}
$result = $this->getDataSource()->prepareAndExecute("

0 comments on commit a0a2312

Please sign in to comment.