Permalink
Browse files

fix(core): get_registered_entity_types now returns empty array for type

fixes #7843
  • Loading branch information...
jdalsem committed Nov 14, 2017
1 parent 50f34c0 commit cc14cb0e8a866b944f65cece43324e5aa020a2ec
Showing with 1 addition and 1 deletion.
  1. +1 −1 engine/lib/entities.php
View
@@ -446,7 +446,7 @@ function get_registered_entity_types($type = null) {
$type = strtolower($type);
}
if (!empty($type) && empty($registered_entities[$type])) {
if (!empty($type) && !isset($registered_entities[$type])) {
return false;
}

0 comments on commit cc14cb0

Please sign in to comment.