CRM-18114: DB error when exporting contact using 'merge household' option
authorsarehag <joakim.sarehag@gmail.com>
Sun, 28 Feb 2016 13:52:06 +0000 (14:52 +0100)
committersarehag <joakim.sarehag@gmail.com>
Sun, 28 Feb 2016 13:52:06 +0000 (14:52 +0100)
CRM/Export/BAO/Export.php

index 6c607209812fdcf4338432e8e00d29146d4a5c40..0bb887c7d565b6c947a69ac130e2b8d5e222f292 100644 (file)
@@ -1388,7 +1388,7 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c
             }
           }
           else {
-            $sqlColumns[$fieldName] = "$fieldName varchar(255)";
+            $sqlColumns[$fieldName] = "$fieldName text";
           }
         }
       }