Eileen has uploaded a new change for review.
https://gerrit.wikimedia.org/r/325444
Change subject: Do not give validation error on address with no location_type.
......................................................................
Do not give validation error on address with no location_type.
This is the super quick hack version. I want to follow it with a version that
will do clean up rather than just ignore. However, the feeling is ignore is
better than cause inconvenience or ask Engage staff to fix at this stage.
Bug: T152426
Change-Id: Ibcf1a34abbaad8e986afef82c4fbf41facad9d7c
---
M CRM/Contact/Form/Contact.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm/civicrm
refs/changes/44/325444/1
diff --git a/CRM/Contact/Form/Contact.php b/CRM/Contact/Form/Contact.php
index 1c04b66..9dae4be 100644
--- a/CRM/Contact/Form/Contact.php
+++ b/CRM/Contact/Form/Contact.php
@@ -654,7 +654,7 @@
}
if (empty($blockValues['location_type_id'])) {
- $errors["{$name}[$instance][location_type_id]"] = ts('The
Location Type should be set if there is %1 information.', array(1 => $label));
+ //$errors["{$name}[$instance][location_type_id]"] = ts('The
Location Type should be set if there is %1 information.', array(1 => $label));
}
}
--
To view, visit https://gerrit.wikimedia.org/r/325444
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibcf1a34abbaad8e986afef82c4fbf41facad9d7c
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm/civicrm
Gerrit-Branch: master
Gerrit-Owner: Eileen <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits