From 880e81834ab98a4b73fb982b2bc2c8982c615fe3 Mon Sep 17 00:00:00 2001
From: Thomas Steur <thomas.steur@gmail.com>
Date: Thu, 15 Jan 2015 20:02:02 +0000
Subject: [PATCH] that label is not always defined and results in an error.
 instead default to an empty string

---
 plugins/CoreHome/templates/_dataTableFooter.twig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/CoreHome/templates/_dataTableFooter.twig b/plugins/CoreHome/templates/_dataTableFooter.twig
index 5f98da4a1f..0f0f59556e 100644
--- a/plugins/CoreHome/templates/_dataTableFooter.twig
+++ b/plugins/CoreHome/templates/_dataTableFooter.twig
@@ -16,7 +16,7 @@
 
         {% if properties.show_search %}
             <span class="dataTableSearchPattern">
-		<label for="widgetSearch_{{ properties.report_id }}" style="display:none;"> {{ 'General_Search'|translate }} {{ visualization.config.translations.label }}</label>
+		<label for="widgetSearch_{{ properties.report_id }}" style="display:none;"> {{ 'General_Search'|translate }} {{ visualization.config.translations.label|default('') }}</label>
                 <input id="widgetSearch_{{ properties.report_id }}" type="text" class="searchInput" length="15" />
                 <input type="submit" value="{{ 'General_Search'|translate }}" />
             </span>
-- 
GitLab