From 15fc8323e66b7143bde15e98c3bdd6a7a4df49fe Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 19 Mar 2019 17:31:20 +0100 Subject: [PATCH] dont store or overwrite with empty labels --- admin/inc/class.admin_cmd.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/inc/class.admin_cmd.inc.php b/admin/inc/class.admin_cmd.inc.php index e59186ae80..9094ee2877 100644 --- a/admin/inc/class.admin_cmd.inc.php +++ b/admin/inc/class.admin_cmd.inc.php @@ -1360,7 +1360,7 @@ abstract class admin_cmd if (!empty($widget->id)) { if (!empty($widget->attrs['label'])) $label = $widget->attrs['label']; - $labels[$widget->id] = $label; + if (!empty($label)) $labels[$widget->id] = $label; $label = null; } break;