diff options
-rw-r--r-- | engine/lib/entities.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php index ca926a0fb..32be24775 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -1017,8 +1017,8 @@ return new ElggObject($row); case 'user' : return new ElggUser($row); - case 'collection' : - return new ElggCollection($row); + case 'group' : + return new ElggGroup($row); case 'site' : return new ElggSite($row); default: throw new InstallationException(sprintf(elgg_echo('InstallationException:TypeNotSupported'), $row->type)); |