* [FIX] Fixed issue when evaluating ACL for showing request icon.

This commit is contained in:
nuxsmin
2017-03-16 01:01:57 +01:00
parent 2ef5ff248e
commit c0c142f683

View File

@@ -113,8 +113,8 @@ class AccountsSearchItem
*/
public function isShowRequest()
{
return (!$this->isShow()
&& (AccountsSearchItem::$requestEnabled || AccountsSearchItem::$isDemoMode));
return ((!$this->showView || !$this->showEdit || !$this->showDelete)
&& AccountsSearchItem::$requestEnabled);
}
/**