From 2c8ac0240c9c09842ed1650b680345b30e45f9fd Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 1 Jul 2008 14:46:16 +0000 Subject: Entity loader support for ElggGroup, refs #106 git-svn-id: https://code.elgg.org/elgg/trunk@1238 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 4 ++-- 1 file 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)); -- cgit v1.2.3