aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-09 08:02:28 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-09 08:02:28 +0000
commit0fcb238b2090a8f3ef95852b9cf6b3e27f2f811f (patch)
treec803e5abd29e7dc6674f464e2ceb2eb45e07fcc8 /engine/lib/users.php
parentd8babe5672b47c76a269bbae275a6e8e381bb82b (diff)
downloadelgg-0fcb238b2090a8f3ef95852b9cf6b3e27f2f811f.tar.gz
elgg-0fcb238b2090a8f3ef95852b9cf6b3e27f2f811f.tar.bz2
Refs #584: Fixed error message.
git-svn-id: https://code.elgg.org/elgg/trunk@2681 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r--engine/lib/users.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index adbea4ede..a63092148 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -740,7 +740,7 @@
$result = get_entity($guid);
if ((!empty($result)) && (!($result instanceof ElggUser)))
- throw new InvalidClassException(sprintf(elgg_echo('InvalidClassException:NotValidElggStar'), $guid, get_class()));
+ throw new InvalidClassException(sprintf(elgg_echo('InvalidClassException:NotValidElggStar'), $guid, 'ElggUser'));
if (!empty($result))
return $result;