From d23efff403b0c18bdc1ab4820878f27d9e96489c Mon Sep 17 00:00:00 2001 From: eug48 Date: Sun, 14 Feb 2016 21:43:46 +1100 Subject: [PATCH] CRM-17974 - fix typo in createIndexes --- CRM/Core/BAO/SchemaHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/BAO/SchemaHandler.php b/CRM/Core/BAO/SchemaHandler.php index a92572c03a..ccba643f80 100644 --- a/CRM/Core/BAO/SchemaHandler.php +++ b/CRM/Core/BAO/SchemaHandler.php @@ -449,7 +449,7 @@ ADD UNIQUE INDEX `unique_entity_id` ( `entity_id` )"; else { // handle indices over substrings, CRM-6245 // $lengthName is appended to index name, $lengthSize is the field size modifier - $lengthName = isset($substrLenghts[$table][$fieldName]) ? "_{$substrLenghts[$table][$fieldName]})" : ''; + $lengthName = isset($substrLenghts[$table][$fieldName]) ? "_{$substrLenghts[$table][$fieldName]}" : ''; $lengthSize = isset($substrLenghts[$table][$fieldName]) ? "({$substrLenghts[$table][$fieldName]})" : ''; } -- 2.25.1