Merge branch '5.48' to master
authorColeman Watts <coleman@civicrm.org>
Thu, 7 Apr 2022 01:07:19 +0000 (21:07 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 7 Apr 2022 01:07:19 +0000 (21:07 -0400)
1  2 
CRM/Contact/BAO/Contact.php
CRM/Core/Block.php
ext/afform/admin/Civi/Api4/Action/Afform/LoadAdminData.php
ext/afform/admin/ang/afGuiEditor/afGuiEditor.component.js
templates/CRM/common/TabHeader.js

Simple merge
Simple merge
index a7b93544d850bd8e71475a189d6133eecb489cb3,c83a1575faa2b8c3707c710eb6aefaf7961cc697..f99ca046899b34f1f56069a344d376ee7a60afe3
              editor.layout['#children'].push(afGui.meta.elements.submit.element);
            }
          }
 -
 -        else if (editor.getFormType() === 'block') {
 +        else {
            editor.layout['#children'] = editor.afform.layout;
-           editor.blockEntity = editor.afform.join_entity || editor.afform.entity_type;
 +        }
 +
 +        if (editor.getFormType() === 'block') {
+           editor.blockEntity = editor.afform.join_entity || editor.afform.entity_type || '*';
            $scope.entities[editor.blockEntity] = backfillEntityDefaults({
              type: editor.blockEntity,
              name: editor.blockEntity,
Simple merge