Skip to content
Snippets Groups Projects
Commit af1f63f6 authored by Earl Miles's avatar Earl Miles
Browse files

Do not force panes to fail just because subtype does not exist. They may want...

Do not force panes to fail just because subtype does not exist. They may want to render something anyhow.
parent a21e9472
No related branches found
No related tags found
No related merge requests found
......@@ -674,7 +674,7 @@ function ctools_content_select_context($plugin, $subtype, $conf, $contexts) {
$subtype_info = ctools_content_get_subtype($plugin, $subtype);
if (empty($subtype_info)) {
return FALSE;
return;
}
if (!empty($subtype_info['all contexts']) || !empty($plugin['all contexts'])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment