Commit 6f9fc6db authored by Quentin Ribac's avatar Quentin Ribac
Browse files

FIX #17703 TIME 0 typo

parent 1a9d7ce9
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment