]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
fixes elgg_get_user_validation_status() always returning null
authorzcho <zcho05@gmail.com>
Mon, 12 Dec 2011 15:24:07 +0000 (19:24 +0400)
committerCash Costello <cash.costello@gmail.com>
Thu, 15 Dec 2011 12:46:08 +0000 (07:46 -0500)
engine/lib/users.php

index 3a86c1faa5b3a0bae6ed8cae7038b01c65618fe9..beabcbb590cfa1e84cef51ee0c4d5a25841e472b 100644 (file)
@@ -1021,7 +1021,7 @@ function elgg_get_user_validation_status($user_guid) {
                return;
        }
 
-       if ($md->value) {
+       if ($md[0]->value) {
                return true;
        }