Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bat_api
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
bat_api
Commits
20d61d06
Commit
20d61d06
authored
1 year ago
by
Augusto Fagioli
Browse files
Options
Downloads
Patches
Plain Diff
apply patch at
#3350938
#comment-15166041
parent
48db467c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Plugin/ServiceDefinition/UnitIndex.php
+2
-2
2 additions, 2 deletions
src/Plugin/ServiceDefinition/UnitIndex.php
with
2 additions
and
2 deletions
src/Plugin/ServiceDefinition/UnitIndex.php
+
2
−
2
View file @
20d61d06
...
...
@@ -123,7 +123,7 @@ class UnitIndex extends ServiceDefinitionBase implements ContainerFactoryPluginI
$types
=
[];
foreach
(
bat_unit_get_types
()
as
$type
)
{
$type_bundle
=
bat_type_bundle_load
(
$type
->
bundle
());
$type_bundle
=
bat_
unit_
type_bundle_load
(
$type
->
bundle
());
if
(
isset
(
$type_bundle
->
default_event_value_field_ids
[
$event_type
])
&&
!
empty
(
$type_bundle
->
default_event_value_field_ids
[
$event_type
]))
{
...
...
@@ -155,7 +155,7 @@ class UnitIndex extends ServiceDefinitionBase implements ContainerFactoryPluginI
}
foreach
(
$childrens
as
$type_id
=>
$children
)
{
$unit_type
=
bat_type_load
(
$type_id
);
$unit_type
=
bat_
unit_
type_load
(
$type_id
);
$units
[]
=
[
'id'
=>
$unit_type
->
id
(),
...
...
This diff is collapsed.
Click to expand it.
fwatine
@fwatine
·
1 year ago
I updated this module and the function
bat_unit_type_load
doesn't exist.
I updated this module and the function `bat_unit_type_load` doesn't exist.
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