diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-22 17:40:42 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-22 17:40:42 +0000 |
commit | 00ed0f85bc5f29294840481da83ba870c81d9688 (patch) | |
tree | 5685825381ac385329f84e9ea31440f67c625f68 /engine/lib/users.php | |
parent | 6afa8f116066816be7d280d21b03672a3005b567 (diff) | |
download | elgg-00ed0f85bc5f29294840481da83ba870c81d9688.tar.gz elgg-00ed0f85bc5f29294840481da83ba870c81d9688.tar.bz2 |
Fixes #1528: Correctly throwing exceptions for objects, groups, and users.
git-svn-id: http://code.elgg.org/elgg/trunk@3968 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r-- | engine/lib/users.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php index 1d08bd133..549dd3595 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -90,7 +90,7 @@ class ElggUser extends ElggEntity // We assume if we have got this far, $guid is an int else if (is_numeric($guid)) { if (!$this->load($guid)) { - IOException(sprintf(elgg_echo('IOException:FailedToLoadGUID'), get_class(), $guid)); + throw new IOException(sprintf(elgg_echo('IOException:FailedToLoadGUID'), get_class(), $guid)); } } |