projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df32281
)
CRM-17974 - fix typo in createIndexes
author
eug48
<eug48@users.noreply.github.com>
Sun, 14 Feb 2016 10:43:46 +0000
(21:43 +1100)
committer
eug48
<eug48@users.noreply.github.com>
Sun, 14 Feb 2016 10:43:46 +0000
(21:43 +1100)
CRM/Core/BAO/SchemaHandler.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/BAO/SchemaHandler.php
b/CRM/Core/BAO/SchemaHandler.php
index a92572c03a7fbe530f5d3aa92367354e37b4d723..ccba643f8003902a97ed89237a9e3eae8bc13850 100644
(file)
--- 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]})" : '';
}