From c0c142f683e9f682cfe60e883d33a2eb268d4209 Mon Sep 17 00:00:00 2001 From: nuxsmin Date: Thu, 16 Mar 2017 01:01:57 +0100 Subject: [PATCH] * [FIX] Fixed issue when evaluating ACL for showing request icon. --- inc/SP/Account/AccountsSearchItem.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/SP/Account/AccountsSearchItem.class.php b/inc/SP/Account/AccountsSearchItem.class.php index 48857543..a2cf057f 100644 --- a/inc/SP/Account/AccountsSearchItem.class.php +++ b/inc/SP/Account/AccountsSearchItem.class.php @@ -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); } /**