Merge pull request #18114 from eileenmcnaughton/phone
[civicrm-core.git] / CRM / Core / BAO / Mapping.php
index 309972bb6aaf35c420a29862b5c77056d3506823..e2e0e7057a29de51be7091621772fe334e24e630 100644 (file)
@@ -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]])) {