CRM-15361, CRM-15857 - Set default location_type_id
authorTim Otten <totten@civicrm.org>
Sat, 14 Feb 2015 01:01:44 +0000 (17:01 -0800)
committerTim Otten <totten@civicrm.org>
Sat, 14 Feb 2015 01:09:50 +0000 (17:09 -0800)
commit71c65f5ebe72ac3871d90aeaeb9278602362b302
treee912958272759cb9932af232db181379bf5e8b70
parentb7f938743aec3b211896f0bbbc10f757d0c9823a
CRM-15361, CRM-15857 - Set default location_type_id

The default value of '0' is invalid. It should be NULL.

In the original UI for location_type_id (patched but unreleased for 4.6),
the default behavior was to set the value to NULL, so it seems implicit that
NULL is an acceptable value.
CRM/Upgrade/Incremental/sql/4.6.alpha7.mysql.tpl
xml/schema/Mailing/Mailing.xml