aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
authorzcho <zcho05@gmail.com>2011-12-12 19:24:07 +0400
committerCash Costello <cash.costello@gmail.com>2011-12-15 07:46:08 -0500
commit54c220bf4d68cdad8077c7355855d9d424ef63e6 (patch)
treef0ac64f507ee86e54d5eb4a4f7738d6bac878b61 /engine/lib/users.php
parent32d30e7b805e7c9c192b69516c211e90a2b3862e (diff)
downloadelgg-54c220bf4d68cdad8077c7355855d9d424ef63e6.tar.gz
elgg-54c220bf4d68cdad8077c7355855d9d424ef63e6.tar.bz2
fixes elgg_get_user_validation_status() always returning null
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 3a86c1faa..beabcbb59 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -1021,7 +1021,7 @@ function elgg_get_user_validation_status($user_guid) {
return;
}
- if ($md->value) {
+ if ($md[0]->value) {
return true;
}