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
72b5713c
Unverified
Commit
72b5713c
authored
2 years ago
by
Seamus Lee
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #25578 from seamuslee001/dev_core_4119
#4119
Only generate error on blank confirm_title if confirmat…
parents
67dcf790
17e512e4
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/Event/Form/ManageEvent/Registration.php
+2
-1
2 additions, 1 deletion
CRM/Event/Form/ManageEvent/Registration.php
with
2 additions
and
1 deletion
CRM/Event/Form/ManageEvent/Registration.php
+
2
−
1
View file @
72b5713c
...
...
@@ -444,7 +444,8 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent
if
((
$values
[
'registration_link_text'
]
??
''
)
===
''
)
{
$errorMsg
[
'registration_link_text'
]
=
ts
(
'Please enter Registration Link Text'
);
}
if
((
$values
[
'confirm_title'
]
??
''
)
===
''
)
{
// Check if the confirm text is set if we have enabled the confirmation page or page is monetary which forces the confirm page.
if
((
$values
[
'confirm_title'
]
??
''
)
===
''
&&
(
!
empty
(
$values
[
'is_confirm_enabled'
])
||
CRM_Core_DAO
::
getFieldValue
(
'CRM_Event_DAO_Event'
,
$form
->
_id
,
'is_monetary'
)))
{
$errorMsg
[
'confirm_title'
]
=
ts
(
'Please enter a Title for the registration Confirmation Page'
);
}
if
((
$values
[
'thankyou_title'
]
??
''
)
===
''
)
{
...
...
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