Verified Commit e106f2c3 authored by Kevin Cristiano's avatar Kevin Cristiano 🌎 Committed by Kevin Cristiano
Browse files
parent 94344a93
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment