CRM-17147 People with empty deceased-flag ('is null') get removed from recipient...
authorKemal Bay <kemal@atbey.com>
Sun, 8 Nov 2015 13:34:20 +0000 (15:34 +0200)
committerKemal Bay <kemal@atbey.com>
Sun, 8 Nov 2015 13:34:20 +0000 (15:34 +0200)
CRM/Upgrade/Incremental/sql/4.7.beta1.mysql.tpl

index 8348cb5d3a66252f34385a9a19fd5e9431dac6bb..6f1df6a2e114e7cc6248719116c37939b5e8dcdc 100644 (file)
@@ -4,4 +4,6 @@ SELECT @parent_id := id from `civicrm_navigation` where name = 'Administration C
 INSERT INTO civicrm_navigation
 ( domain_id, url, label, name, permission, permission_operator, parent_id, is_active, has_separator, weight )
 VALUES
-( {$domainID}, 'civicrm/a/#/status', '{ts escape="sql" skip="true"}System Status{/ts}', 'System Status', 'administer CiviCRM', '', @parent_id, '1', NULL, 0 );
\ No newline at end of file
+( {$domainID}, 'civicrm/a/#/status', '{ts escape="sql" skip="true"}System Status{/ts}', 'System Status', 'administer CiviCRM', '', @parent_id, '1', NULL, 0 );
+
+UPDATE civicrm_contact SET is_deceased = 0 WHERE is_deceased IS NULL;
\ No newline at end of file