diff options
-rw-r--r-- | engine/lib/entities.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php index c3ee3ddcb..1ece194aa 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -1304,7 +1304,7 @@ { case 'object' : $tmp = new ElggObject($row); break; case 'user' : $tmp = new ElggUser($row); break; - case 'collection' : $tmp = new ElggCollection($row); break; + case 'group' : $tmp = new ElggGroup($row); break; case 'site' : $tmp = new ElggSite($row); break; default: throw new InstallationException(sprintf(elgg_echo('InstallationException:TypeNotSupported'), $class)); } |