Skip to content

Commit

Permalink
* [FIX] Fixed issue when evaluating ACL for showing request icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxsmin committed Mar 16, 2017
1 parent 2ef5ff2 commit c0c142f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/SP/Account/AccountsSearchItem.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ public function setFavorite($favorite)
*/
public function isShowRequest()
{
return (!$this->isShow()
&& (AccountsSearchItem::$requestEnabled || AccountsSearchItem::$isDemoMode));
return ((!$this->showView || !$this->showEdit || !$this->showDelete)
&& AccountsSearchItem::$requestEnabled);
}

/**
Expand Down

0 comments on commit c0c142f

Please sign in to comment.