From 2f31752fa8303f7086e0e80dcc7f6d56606252cc Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Fri, 28 Jul 2017 20:52:04 +0200 Subject: [PATCH] remove title if empty --- bl-plugins/links/plugin.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bl-plugins/links/plugin.php b/bl-plugins/links/plugin.php index cc86d1e3..e90b0d65 100644 --- a/bl-plugins/links/plugin.php +++ b/bl-plugins/links/plugin.php @@ -125,7 +125,9 @@ class pluginLinks extends Plugin { // HTML for sidebar $html = '
'; - $html .= '

'.$this->getValue('label').'

'; + if ($this->getValue('label')) { + $html .= '

'.$this->getValue('label').'

'; + } $html .= '
'; $html .= '
    ';