DO NOT MERGE - temp test fix for 4.4
authorEileen <eilee@fuzion.co.nz>
Wed, 24 Sep 2014 03:01:46 +0000 (03:01 +0000)
committerEileen <eilee@fuzion.co.nz>
Wed, 24 Sep 2014 03:01:46 +0000 (03:01 +0000)
I will merge once in 4.4

CRM/Core/DAO.php

index 9dea4c8676c42c669c29ef1ff6012a5e55c7a365..ab84572a1afc320d10af7e88c9d51a6e8f749f45 100644 (file)
@@ -1341,7 +1341,13 @@ SELECT contact_id
             case CRM_Utils_Type::T_INT:
             case CRM_Utils_Type::T_FLOAT:
             case CRM_Utils_Type::T_MONEY:
-              $object->$dbName = $counter;
+              //4.4 hack do not merge
+              if ($dbName == 'tax_rate') {
+                $object->$dbName = 10;
+              }
+              else {
+                $object->$dbName = $counter;
+              }
               break;
 
             case CRM_Utils_Type::T_BOOLEAN: