From 4a336a7478cf0620d6e84b71eb5757455c1cebe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Garn=C3=A6s?= Date: Tue, 7 Apr 2015 16:48:08 +0200 Subject: [PATCH] Make taxonomy menu term optional There is no reason to require it. It works just as well without. --- plugins/content_types/taxonomy_menu.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/content_types/taxonomy_menu.inc b/plugins/content_types/taxonomy_menu.inc index 81ae6da..289d284 100644 --- a/plugins/content_types/taxonomy_menu.inc +++ b/plugins/content_types/taxonomy_menu.inc @@ -16,7 +16,7 @@ $plugin = array( 'render callback' => 'ding_frontend_taxonomy_menu_content_type_render', 'category' => t('Ding!'), 'required context' => array( - new ctools_context_required(t('Taxonomy term id'), array('term', 'taxonomy_term')), + new ctools_context_optional(t('Taxonomy term id'), array('term', 'taxonomy_term')), new ctools_context_optional(t('Group'), 'node'), ), 'defaults' => array(