-- CRM-13340, this PR should be merged in 4.3, but merged in master so sending it...
authorPradeep Nayak <pradeep@pradeep.(none)>
Wed, 25 Sep 2013 10:08:58 +0000 (15:38 +0530)
committerPradeep Nayak <pradeep@pradeep.(none)>
Wed, 25 Sep 2013 10:08:58 +0000 (15:38 +0530)
----------------------------------------
* CRM-13340: upgrading to (unreleased) 4.3.6 gets sql error on some sites
  http://issues.civicrm.org/jira/browse/CRM-13340

CRM/Upgrade/Incremental/php/FourThree.php

index a925a615b32a1c0b6bd65b1683256c3ea16dfbe3..ce0d0397100eb1bb94dc6853b694944a04defda9 100644 (file)
@@ -981,7 +981,7 @@ ORDER BY cli.id";
         $financialTrxn[$dao->contribution_recur_id] = array(
            'price_field_id' => $dao->price_field_id,
            'price_field_value_id' => $dao->price_field_value_id,
-           'label' => $dao->label,
+           'label' => strval($dao->label),
            'financial_account_id' => $dao->financial_account_id,
            $dao->contribution_id => 1,
         );