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

Commit

Permalink
Fix actions disabling merging
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Dec 7, 2015
1 parent 5eddfb2 commit aea0f07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/core/classes/class.AJXP_Role.php
Original file line number Diff line number Diff line change
Expand Up @@ -354,10 +354,10 @@ public function listActionsStatesFor($repository)
$actions = $this->actions[AJXP_REPO_SCOPE_ALL];
}
if ($repository != null && isSet($this->actions[AJXP_REPO_SCOPE_SHARED]) && $repository->hasParent()) {
$actions = array_merge($actions, $this->actions[AJXP_REPO_SCOPE_SHARED]);
$actions = $this->array_merge_recursive2($actions, $this->actions[AJXP_REPO_SCOPE_SHARED]);
}
if ($repository != null && isSet($this->actions[$repository->getId()])) {
$actions = array_merge($actions, $this->actions[$repository->getId()]);
$actions = $this->array_merge_recursive2($actions, $this->actions[$repository->getId()]);
}
return $actions;
}
Expand Down

0 comments on commit aea0f07

Please sign in to comment.