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:
cf0bd1e
)
CRM-16717 trim prefix field as it might have syntactical space
author
Eileen McNaughton
<eileen@fuzion.co.nz>
Thu, 9 Jul 2015 00:33:37 +0000
(12:33 +1200)
committer
Eileen McNaughton
<eileen@fuzion.co.nz>
Thu, 9 Jul 2015 00:33:37 +0000
(12:33 +1200)
CRM/Core/BAO/SchemaHandler.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/BAO/SchemaHandler.php
b/CRM/Core/BAO/SchemaHandler.php
index 975ca89a87faa338578a84dd1400bfbebf92027b..0abdd694c601764baa4f1c879a08c906c992a615 100644
(file)
--- a/
CRM/Core/BAO/SchemaHandler.php
+++ b/
CRM/Core/BAO/SchemaHandler.php
@@
-351,7
+351,7
@@
ALTER TABLE {$tableName}
// Are there any modifies we DON'T was to call this function for (& shouldn't it be clever enough to cope?)
if ($params['operation'] == 'add' || $params['operation'] == 'modify') {
$logging = new CRM_Logging_Schema();
- $logging->fixSchemaDifferencesFor($params['table_name'], array(
$prefix
=> array($params['name'])), FALSE);
+ $logging->fixSchemaDifferencesFor($params['table_name'], array(
trim($prefix)
=> array($params['name'])), FALSE);
}
}