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:
82f5a85
)
Fix validation
author
Seamus Lee
<seamuslee001@gmail.com>
Mon, 6 Jun 2016 00:12:36 +0000
(10:12 +1000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Mon, 6 Jun 2016 00:12:36 +0000
(10:12 +1000)
CRM/Core/BAO/SchemaHandler.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/BAO/SchemaHandler.php
b/CRM/Core/BAO/SchemaHandler.php
index 46e63179b28860b40615ab0da8a9782055e2016a..3ec0fad1ee5ea2902c0bf9a3e48e712a520852ce 100644
(file)
--- a/
CRM/Core/BAO/SchemaHandler.php
+++ b/
CRM/Core/BAO/SchemaHandler.php
@@
-590,7
+590,7
@@
MODIFY {$columnName} varchar( $length )
public static function checkIfFieldExists($tableName, $columnName) {
$result = CRM_Core_DAO::executeQuery(
"SHOW COLUMNS FROM $tableName LIKE ' %1 '",
- array(1 => array($columnName, '
mysqlColumnNameOrAlias
'))
+ array(1 => array($columnName, '
String
'))
);
if ($result->fetch()) {
return TRUE;