Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix error User not found when load shares
Browse files Browse the repository at this point in the history
  • Loading branch information
c12simple committed Apr 12, 2017
1 parent 8619edb commit 3dbdfc0
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -330,6 +330,7 @@ public function computeSharedRepositoryAccessRights($repoId, $mixUsersAndGroups,
if(strpos($rId, "AJXP_USR_/") === 0){
$userId = substr($rId, strlen('AJXP_USR_/'));
$role = RolesService::getRole($rId);
if(!UsersService::userExists($userId)) continue;
$userObject = UsersService::getUserById($userId);
$LABEL = $role->filterParameterValue("core.conf", "USER_DISPLAY_NAME", AJXP_REPO_SCOPE_ALL, "");
$AVATAR = $role->filterParameterValue("core.conf", "avatar", AJXP_REPO_SCOPE_ALL, "");
Expand Down

0 comments on commit 3dbdfc0

Please sign in to comment.