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:
64aa560
)
[NFC] Ensure jsSet returned variable exists
author
John Kingsnorth
<john@johnkingsnorth.co.uk>
Mon, 13 Jul 2020 12:18:59 +0000
(13:18 +0100)
committer
GitHub
<noreply@github.com>
Mon, 13 Jul 2020 12:18:59 +0000
(13:18 +0100)
CRM/Core/BAO/Mapping.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/BAO/Mapping.php
b/CRM/Core/BAO/Mapping.php
index 309972bb6aaf35c420a29862b5c77056d3506823..e2e0e7057a29de51be7091621772fe334e24e630 100644
(file)
--- a/
CRM/Core/BAO/Mapping.php
+++ b/
CRM/Core/BAO/Mapping.php
@@
-871,6
+871,7
@@
class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping {
* @return array
*/
protected static function loadSavedMapping($mappingLocation, int $x, int $i, $mappingName, $mapperFields, $mappingContactType, $mappingRelation, array $specialFields, $mappingPhoneType, array $defaults, array $noneArray, $mappingImProvider, $mappingOperator, $mappingValue) {
+ $jsSet = FALSE;
$locationId = $mappingLocation[$x][$i] ?? 0;
if (isset($mappingName[$x][$i])) {
if (is_array($mapperFields[$mappingContactType[$x][$i]])) {