|
|
@@ -111,7 +111,7 @@ class BxBaseModProfileGridAdministration extends BxBaseModGeneralGridAdministrat
|
|
|
|
|
|
protected function _getActionDeleteWithContent($sType, $sKey, $a, $isSmall = false, $isDisabled = false, $aRow = array())
|
|
|
{
|
|
|
- if($this->_sManageType == BX_DOL_MANAGE_TOOLS_ADMINISTRATION && $this->_oModule->_isAdministrator() !== CHECK_ACTION_RESULT_ALLOWED)
|
|
|
+ if($this->_sManageType != BX_DOL_MANAGE_TOOLS_ADMINISTRATION || !$this->_oModule->_isAdministrator())
|
|
|
return '';
|
|
|
|
|
|
return $this->_getActionDefault($sType, $sKey, $a, $isSmall, $isDisabled, $aRow);
|