//all other elements are handle in this case
$fldName = substr($name, 13);
if (!isset($fields[$fldName])) {
- // CRM-12597
- CRM_Core_Session::setStatus(ts(
- 'We did not recognize the search field: %1. Please check and fix your contribution related smart groups.',
- [1 => $fldName]
- )
- );
return;
}
$whereTable = $fields[$fldName];
$value = trim($value);
}
- $dataType = "String";
+ $dataType = 'String';
if (!empty($whereTable['type'])) {
$dataType = CRM_Utils_Type::typeToString($whereTable['type']);
}