Commit ad7459da authored by tedbow's avatar tedbow Committed by fago

Issue #2156697 by tedbow | jetwong98: Fixed bundle undefined error on entity...

Issue #2156697 by tedbow | jetwong98: Fixed bundle undefined error on entity import page in entity_ui_get_page_title.
parent 200ca8cd
......@@ -203,6 +203,9 @@ function entity_ui_get_page_title($op, $entity_type, $entity = NULL) {
if (isset($entity)) {
list(, , $bundle) = entity_extract_ids($entity_type, $entity);
}
else {
$bundle = NULL;
}
return entity_ui_get_action_title($op, $entity_type, $bundle);
}
......
Markdown is supported
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