Skip to content
Snippets Groups Projects
Commit 5aab1250 authored by Greeshma's avatar Greeshma
Browse files

modified if condition for strict mode

parent 9eb38b0c
No related branches found
No related tags found
No related merge requests found
...@@ -85,7 +85,7 @@ class Vtiger_ModuleMeta_Model extends Vtiger_Base_Model { ...@@ -85,7 +85,7 @@ class Vtiger_ModuleMeta_Model extends Vtiger_Base_Model {
$accessibleFields = $this->getAccessibleFields($this->moduleName); $accessibleFields = $this->getAccessibleFields($this->moduleName);
$mergableFields = array(); $mergableFields = array();
foreach($accessibleFields as $fieldName => $fieldInstance) { foreach($accessibleFields as $fieldName => $fieldInstance) {
if($fieldInstance->getPresence() == 1) { if(intval($fieldInstance->getPresence()) === 1) {
continue; continue;
} }
// We need to avoid Last Modified by or any such User reference field // We need to avoid Last Modified by or any such User reference field
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment