Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
MaarchCourrier
Commits
6f9fc6db
Commit
6f9fc6db
authored
Sep 09, 2021
by
Quentin Ribac
Browse files
FIX #17703 TIME 0 typo
parent
1a9d7ce9
Changes
1
Show whitespace changes
Inline
Side-by-side
src/app/entity/models/EntityModelAbstract.php
View file @
6f9fc6db
...
...
@@ -496,7 +496,8 @@ abstract class EntityModelAbstract
return
EntityModel
::
getEntityPathByEntityId
([
'entityId'
=>
$entity
[
'parent_entity_id'
],
'path'
=>
$args
[
'path'
]]);
}
public
static
function
removeOrphanedEntities
(
array
$entities
)
{
public
static
function
removeOrphanedEntities
(
array
$entities
)
{
if
(
!
isset
(
$entities
[
0
][
'parent_entity_id'
])
||
!
isset
(
$entities
[
0
][
'entity_id'
]))
{
return
$entities
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment