Commit 24f8c55d authored by merlinofchaos's avatar merlinofchaos

Issue #1300666 by zabelc and DamienMcKenna: Fix notice in term breadcrumb.

parent 7e0f48f4
......@@ -130,7 +130,7 @@ function ctools_term_ctools_argument_placeholder($conf) {
* Inject the breadcrumb trail if necessary.
*/
function ctools_term_breadcrumb($conf, $context) {
if (empty($conf['breadcrumb'])) {
if (empty($conf['breadcrumb']) || empty($context->data) || empty($context->data->tid)) {
return;
}
......
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