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:
5fd37df
)
WIP enable auto adding of backticks
author
Seamus Lee
<seamuslee001@gmail.com>
Thu, 2 Jan 2020 22:28:38 +0000
(22:28 +0000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Thu, 2 Jan 2020 22:28:38 +0000
(22:28 +0000)
CRM/Core/DAO.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/DAO.php
b/CRM/Core/DAO.php
index 80045ca09ae442a7c33053aadb1131a1832775b2..fcb2070c8ebab0fb9157cd0dd1c4d52f419ee33f 100644
(file)
--- a/
CRM/Core/DAO.php
+++ b/
CRM/Core/DAO.php
@@
-144,6
+144,7
@@
class CRM_Core_DAO extends DB_DataObject {
Civi::$statics[__CLASS__]['init'] = 1;
$options = &PEAR::getStaticProperty('DB_DataObject', 'options');
$options['database'] = $dsn;
+ $options['quote_identifiers'] = TRUE;
if (defined('CIVICRM_DAO_DEBUG')) {
self::DebugLevel(CIVICRM_DAO_DEBUG);
}