aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/entities.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 4277e78e2..2b4403255 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -1432,7 +1432,7 @@
$new_entity = new $classname($row);
if (!($new_entity instanceof ElggEntity))
- throw new ClassException(sprintf(elgg_echo('ClassException:ClassnameNotClass'), $classname, get_class()));
+ throw new ClassException(sprintf(elgg_echo('ClassException:ClassnameNotClass'), $classname, 'ElggEntity'));
}
else
error_log(sprintf(elgg_echo('ClassNotFoundException:MissingClass'), $classname));