Skip to content
Snippets Groups Projects
Verified Commit ae2d48be authored by Kevin Cristiano's avatar Kevin Cristiano :earth_americas:
Browse files
parent 9379f47d
No related branches found
No related tags found
No related merge requests found
......@@ -1464,16 +1464,6 @@ class CRM_Export_BAO_ExportProcessor {
case CRM_Utils_Type::T_STRING:
if (isset($fieldSpec['maxlength'])) {
// A localized string for the preferred_mail_format does not fit
// into the varchar(8) field.
// @see https://lab.civicrm.org/dev/core/-/issues/2645
switch ($fieldName) {
case 'preferred_mail_format':
return "`$fieldName` text(16)";
default:
return "`$fieldName` varchar({$fieldSpec['maxlength']})";
}
}
$dataType = $fieldSpec['data_type'] ?? '';
// set the sql columns for custom data
......
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