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
8b59113e
Unverified
Commit
8b59113e
authored
3 years ago
by
Seamus Lee
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #21345 from seamuslee001/fix_afform_test
[NFC] Fix E-notice in Afform unit tests
parents
ef4563cb
a003d5f7
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
ext/afform/core/Civi/Api4/Action/Afform/Get.php
+1
-1
1 addition, 1 deletion
ext/afform/core/Civi/Api4/Action/Afform/Get.php
with
1 addition
and
1 deletion
ext/afform/core/Civi/Api4/Action/Afform/Get.php
+
1
−
1
View file @
8b59113e
...
...
@@ -56,7 +56,7 @@ class Get extends \Civi\Api4\Generic\BasicGetAction {
// Skip if afform does not exist or is not of requested type(s)
if
(
(
!
$record
&&
!
isset
(
$values
[
$name
]))
||
(
$getTypes
&&
!
in_array
(
$record
[
'type'
],
$getTypes
,
TRUE
))
(
$getTypes
&&
isset
(
$record
[
'type'
])
&&
!
in_array
(
$record
[
'type'
],
$getTypes
,
TRUE
))
)
{
continue
;
}
...
...
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