Commit ed34fb98 authored by Mateu Aguiló Bosch's avatar Mateu Aguiló Bosch
Browse files

Remove annoying warning

parent d3064e44
......@@ -88,7 +88,7 @@ class TypedEntityManager implements TypedEntityManagerInterface {
if (empty($candidate['bundle'])) {
$candidate_entity_type = $candidate['class'];
}
if ($candidate['bundle'] == $bundle) {
if (!empty($candidate['bundle']) && $candidate['bundle'] == $bundle) {
$candidate_bundle = $candidate['class'];
}
}
......
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