From 0064b0baec649200797245381b0905be3a381183 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 8 Jan 2009 17:54:06 +0000 Subject: Minor error message improvement git-svn-id: https://code.elgg.org/elgg/trunk@2552 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/entities.php') 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)); -- cgit v1.2.3