From 0fcb238b2090a8f3ef95852b9cf6b3e27f2f811f Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 9 Feb 2009 08:02:28 +0000 Subject: Refs #584: Fixed error message. git-svn-id: https://code.elgg.org/elgg/trunk@2681 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3