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:
804ce13
)
dev/core#1236 fix miscasting on setContactSubType
author
eileen
<emcnaughton@wikimedia.org>
Fri, 6 Sep 2019 23:09:49 +0000
(11:09 +1200)
committer
eileen
<emcnaughton@wikimedia.org>
Fri, 6 Sep 2019 23:09:52 +0000
(11:09 +1200)
I think it makes sense to cast here rather than require a string
CRM/Import/ImportProcessor.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Import/ImportProcessor.php
b/CRM/Import/ImportProcessor.php
index 4cd1d9b256e7297ae7d4fb8a025c3f498d39f2f6..79ddc3b640e357b5a8974f71f6a861ca61792a3c 100644
(file)
--- a/
CRM/Import/ImportProcessor.php
+++ b/
CRM/Import/ImportProcessor.php
@@
-112,8
+112,8
@@
class CRM_Import_ImportProcessor {
*
* @param string $contactSubType
*/
- public function setContactSubType(
string
$contactSubType) {
- $this->contactSubType = $contactSubType;
+ public function setContactSubType($contactSubType) {
+ $this->contactSubType =
(string)
$contactSubType;
}
/**