CRM-13934: Fix for saving dedupe rules in non-English.
authorMathieu Lutfy <mathieu@bidon.ca>
Tue, 24 Nov 2015 02:27:59 +0000 (21:27 -0500)
committerMathieu Lutfy <mathieu@bidon.ca>
Tue, 24 Nov 2015 02:27:59 +0000 (21:27 -0500)
CRM/Contact/Form/DedupeRules.php

index 689558a3e1607cdce4a66a50e5bd790663c59c62..30de265dd98aa8ff6656f01bf21d4e2ded79817f 100644 (file)
@@ -66,7 +66,7 @@ class CRM_Contact_Form_DedupeRules extends CRM_Admin_Form {
 
       $this->_defaults['threshold'] = $rgDao->threshold;
       $this->_contactType = $rgDao->contact_type;
-      $this->_defaults['used'] = CRM_Utils_Array::key($rgDao->used, $this->_options);
+      $this->_defaults['used'] = $rgDao->used;
       $this->_defaults['title'] = $rgDao->title;
       $this->_defaults['name'] = $rgDao->name;
       $this->_defaults['is_reserved'] = $rgDao->is_reserved;