aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-08 17:54:06 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-08 17:54:06 +0000
commit0064b0baec649200797245381b0905be3a381183 (patch)
tree57dec85e3c0d191ce6472d804e6d346d1ee0adc9
parent1fe024101644108971d9b64acd8ba8f866ee4b24 (diff)
downloadelgg-0064b0baec649200797245381b0905be3a381183.tar.gz
elgg-0064b0baec649200797245381b0905be3a381183.tar.bz2
Minor error message improvement
git-svn-id: https://code.elgg.org/elgg/trunk@2552 36083f99-b078-4883-b0ff-0f9b5a30f544
-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));