Commit 8f834fce authored by Dave Reid's avatar Dave Reid
Browse files

Allow users to be listed that haven't logged in yet to match the behavior in user_view_access().

parent ab72f26d
......@@ -136,7 +136,7 @@ function xmlsitemap_user_create_link(stdClass &$account) {
// The following values must always be checked because they are volatile.
$account->xmlsitemap['loc'] = $uri['path'];
$account->xmlsitemap['access'] = $account->uid && $account->status && $account->login && $account->access;
$account->xmlsitemap['access'] = $account->uid && $account->status;
$account->xmlsitemap['language'] = !empty($account->language) ? $account->language : LANGUAGE_NONE;
return $account->xmlsitemap;
......
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