Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CiviCRM Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
CiviCRM Core
Commits
2f01e12b
Unverified
Commit
2f01e12b
authored
4 years ago
by
colemanw
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #17765 from colemanw/dev/core#1853
#1853
- Fix validation errors when removing contact subtype
parents
b0422f12
d1bd4bec
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CRM/Contact/Form/Contact.php
+2
-2
2 additions, 2 deletions
CRM/Contact/Form/Contact.php
with
2 additions
and
2 deletions
CRM/Contact/Form/Contact.php
+
2
−
2
View file @
2f01e12b
...
...
@@ -367,8 +367,8 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
else
{
$contactSubType
=
$this
->
_contactSubType
;
// need contact sub type to build related grouptree array during post process
if
(
!
empty
(
$_POST
[
'
contact_sub_type
'
]))
{
$contactSubType
=
$_POST
[
'contact_sub_type'
];
if
(
!
empty
(
$_POST
[
'
qfKey
'
]))
{
$contactSubType
=
$_POST
[
'contact_sub_type'
]
??
NULL
;
}
//only custom data has preprocess hence directly call it
CRM_Custom_Form_CustomData
::
preProcess
(
$this
,
NULL
,
$contactSubType
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment