34 $baseType = $this->fieldType->getBaseType();
35 $documentId = $this->fieldType->getDocumentId();
36 if ($baseType ===
'user')
38 $this->toCheck = \CBPHelper::extractUsers($this->toCheck, $documentId);
39 $this->value = \CBPHelper::extractUsers($this->value, $documentId);
41 elseif ($baseType ===
'select')
43 if (is_array($this->toCheck) && \CBPHelper::isAssociativeArray($this->toCheck))
45 $this->toCheck = array_keys($this->toCheck);