diff --git a/core/model/SiteTree.php b/core/model/SiteTree.php index 0c55b6676..b06acc3a3 100755 --- a/core/model/SiteTree.php +++ b/core/model/SiteTree.php @@ -1032,6 +1032,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid // Get the groups that the given member belongs to $groupIDs = DataObject::get_by_id('Member', $memberID)->Groups()->column("ID"); $SQL_groupList = implode(", ", $groupIDs); + if (!$SQL_groupList) $SQL_groupList = '0'; $combinedStageResult = array();