From e771cab507c120f329e50a71807dd4c53c0ace96 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sat, 15 Sep 2018 10:19:13 +0200 Subject: [PATCH] Error line break on supplier_list_cells when label is set to null. Fixed by @notrinos/kvvaradha. --- includes/ui/ui_lists.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc index ca85d26e..db706969 100644 --- a/includes/ui/ui_lists.inc +++ b/includes/ui/ui_lists.inc @@ -551,10 +551,11 @@ function supplier_list_cells($label, $name, $selected_id=null, $all_option=false $submit_on_change=false, $all=false, $editkey = false) { if ($label != null) - echo "$label\n"; - echo supplier_list($name, $selected_id, $all_option, $submit_on_change, + echo "$label\n"; + echo ""; + echo supplier_list($name, $selected_id, $all_option, $submit_on_change, $all, $editkey); - echo "\n"; + echo "\n"; } function supplier_list_row($label, $name, $selected_id=null, $all_option = false, -- 2.30.2