From ce181f87465cd5160b426c371b3708f5fb92ba70 Mon Sep 17 00:00:00 2001 From: yogeshwar <yogeshwar.g@vtigersolutions.com> Date: Mon, 3 Jun 2024 15:53:14 +0530 Subject: [PATCH] E-ALL SETTINGS - Sharing Rules --- modules/Settings/SharingAccess/models/Rule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Settings/SharingAccess/models/Rule.php b/modules/Settings/SharingAccess/models/Rule.php index 744c27450..bdebf654f 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(!property_exists($this,'rule_details') ||!$this->rule_details && $this->getId()) { + if((!property_exists($this,'rule_details') || !$this->rule_details) && $this->getId()) { $db = PearDatabase::getInstance(); $relationTypeComponents = explode('::', $this->get('relationtype')); -- GitLab