Skip to content
Snippets Groups Projects
Commit 34008639 authored by Prasad's avatar Prasad
Browse files

Fixed count on array only during import

parent 599e1753
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -555,7 +555,7 @@ class Import_Data_Action extends Vtiger_Action_Controller {
} else {
$fieldValueDetails = $fieldValue;
}
if (php7_count($fieldValueDetails) > 1) {
if (is_array($fieldValueDetails) && php7_count($fieldValueDetails) > 1) {
$referenceModuleName = trim($fieldValueDetails[0]);
if (php7_count($fieldValueDetails) == 2) {
$entityLabel = trim($fieldValueDetails[1]);
......
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