Fix FGB error
This commit is contained in:
parent
dbed69ca12
commit
31cc8d3d06
@ -208,13 +208,15 @@ class CRM_RelateEntities_Utils {
|
|||||||
) AS temp
|
) AS temp
|
||||||
$groupByClause
|
$groupByClause
|
||||||
";
|
";
|
||||||
|
CRM_Core_DAO::disableFullGroupByMode();
|
||||||
if ($getCount) {
|
if ($getCount) {
|
||||||
return CRM_Core_DAO::singleValueQuery($query, $queryParams);
|
$result = CRM_Core_DAO::singleValueQuery($query, $queryParams);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return CRM_Core_DAO::executeQuery($query, $queryParams);
|
$result = CRM_Core_DAO::executeQuery($query, $queryParams);
|
||||||
}
|
}
|
||||||
|
CRM_Core_DAO::reenableFullGroupByMode();
|
||||||
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user