Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.5
-
Fix Version/s: 4.3.6
-
Component/s: Core CiviCRM
-
Labels:
Description
CRM-11636 updates civicrm_price_set in file /CRM/Upgrade/Incremental/php/FourThree.php:351. The query is generated using data from a previous query "SELECT id, name FROM civicrm_financial_type WHERE name IN ('Donation', 'Event Fee', 'Member Dues');". In my database, the entry 'Event Fee' exists, but uses a small f, i.e. has the name 'Event fee'. This populates $financialIds with the key 'Event fee', which makes $financialIds['Event Fee'] later undefined. Possible fix: change $daoFinancialIds->name to strtolower($daoFinancialIds->name) and change the following key names in the SQL statement.