projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9afab63
)
Remove now-redundant if
author
eileen
<emcnaughton@wikimedia.org>
Fri, 12 Apr 2019 07:55:15 +0000
(17:55 +1000)
committer
eileen
<emcnaughton@wikimedia.org>
Mon, 22 Apr 2019 08:34:54 +0000
(18:34 +1000)
This is no longer called when location_type_id is empty
CRM/Contact/Import/Parser.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/Import/Parser.php
b/CRM/Contact/Import/Parser.php
index 0f0951443d04ea3941a899ce85c1c9b09c0a0530..ddd5bcd073c597822ce21f6778f8245a3e3ebb6f 100644
(file)
--- a/
CRM/Contact/Import/Parser.php
+++ b/
CRM/Contact/Import/Parser.php
@@
-1200,9
+1200,6
@@
abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser {
* @return bool
*/
protected function formatLocationBlock(&$values, &$params) {
- if (empty($values['location_type_id'])) {
- return FALSE;
- }
$blockTypes = [
'phone' => 'Phone',
'email' => 'Email',