Commit 9b58bf9b authored by fago's avatar fago

#1334028 follow-up: added missing comment.

parent 3e3927e6
......@@ -306,6 +306,7 @@ function entity_metadata_taxonomy_vocabulary_get_properties($vocabulary, array $
function entity_metadata_user_get_properties($account, array $options, $name, $entity_type) {
switch ($name) {
case 'last_access':
// In case there was no access the value is 0, but we have to return NULL.
return empty($account->access) ? NULL : $account->access;
case 'last_login':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment