Skip to content
Snippets Groups Projects
Commit 6f9fc6db authored by Quentin Ribac's avatar Quentin Ribac
Browse files

FIX #17703 TIME 0 typo

parent 1a9d7ce9
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment