diff --git a/modules/Settings/SharingAccess/models/Rule.php b/modules/Settings/SharingAccess/models/Rule.php index f63bf3fa000e670bbce1457ef91455439371e119..bdebf654f1fc2931ee246ec3e3b658672e94dbf3 100644 --- a/modules/Settings/SharingAccess/models/Rule.php +++ b/modules/Settings/SharingAccess/models/Rule.php @@ -121,7 +121,7 @@ class Settings_SharingAccess_Rule_Model extends Vtiger_Base_Model { } protected function getRuleComponents() { - if(!$this->rule_details && $this->getId()) { + if((!property_exists($this,'rule_details') || !$this->rule_details) && $this->getId()) { $db = PearDatabase::getInstance(); $relationTypeComponents = explode('::', $this->get('relationtype'));