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:
6f5824c
)
Fix a further fatal error when full group by is enabled
author
eileen
<emcnaughton@wikimedia.org>
Mon, 19 Nov 2018 02:58:12 +0000
(15:58 +1300)
committer
eileen
<emcnaughton@wikimedia.org>
Mon, 19 Nov 2018 02:58:12 +0000
(15:58 +1300)
CRM/Export/BAO/Export.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Export/BAO/Export.php
b/CRM/Export/BAO/Export.php
index c56ca09031a3e90cd3b6ac6af59c833085a04e2b..45cf9a9a1fa680c6a991d57aa93a2c0634d7447e 100644
(file)
--- a/
CRM/Export/BAO/Export.php
+++ b/
CRM/Export/BAO/Export.php
@@
-1071,7
+1071,9
@@
CREATE TABLE {$exportTempTable}_temp SELECT *
FROM {$exportTempTable}
GROUP BY civicrm_primary_id ";
+ CRM_Core_DAO::disableFullGroupByMode();
CRM_Core_DAO::executeQuery($query);
+ CRM_Core_DAO::reenableFullGroupByMode();
$query = "DROP TABLE $exportTempTable";
CRM_Core_DAO::executeQuery($query);