CRM-19376 - ensure is_for_organization data is transferred.
authorJamie McClelland <jm@mayfirst.org>
Fri, 16 Sep 2016 14:33:04 +0000 (10:33 -0400)
committerJamie McClelland <jm@mayfirst.org>
Fri, 16 Sep 2016 14:33:04 +0000 (10:33 -0400)
In 4.6 -> 4.7 migration the is_for_organization flag from the
contribution table was being lost.

CRM/Upgrade/Incremental/php/FourSeven.php

index 3369802562f4a2222bed469d3b3cf016a4972d8c..6ab19b4ba1958df4408de9805aab41b162268267 100644 (file)
@@ -421,7 +421,7 @@ FROM `civicrm_dashboard_contact` JOIN `civicrm_contact` WHERE civicrm_dashboard_
     $ufGroupDAO->module = 'OnBehalf';
     $ufGroupDAO->find(TRUE);
 
-    $forOrgColums = array();
+    $forOrgColums = array('is_for_organization');
     if ($domain->locales) {
       $locales = explode(CRM_Core_DAO::VALUE_SEPARATOR, $domain->locales);
       foreach ($locales as $locale) {