Fix localisation error in DB upgrade script
authorOlaf Buddenhagen <antrik@digitalcourage.de>
Tue, 13 Aug 2013 04:05:26 +0000 (06:05 +0200)
committerOlaf Buddenhagen <antrik@digitalcourage.de>
Tue, 13 Aug 2013 04:05:26 +0000 (06:05 +0200)
commit47b198374d8effe7c6c535f4a60e8c7752bf0a35
tree9fe288c33fc222e899c1c5e19637d010accaa2be
parenta294f3e5e809a721e88cf32a8dedb3af80b09063
Fix localisation error in DB upgrade script

The upgrade script for 4.3.6 has a hard-coded lookup for the 'Credit
Card' payment_instrument, but uses the (default) `label` column for the
lookup, which is localised -- i.e. the upgrade fails fatally on any
setup where the 'Credit Card' label is translated.

Fix by using the non-localised `name` column instead.
CRM/Upgrade/Incremental/php/FourThree.php