From 413edb18717f1f6c19009f843465092f26f197a6 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Mon, 5 Jul 2021 08:33:10 +0200 Subject: [PATCH] Wrong parameter passed to qty_cell. Fixed. --- inventory/manage/sales_kits.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory/manage/sales_kits.php b/inventory/manage/sales_kits.php index 219f7f35..c8a80687 100644 --- a/inventory/manage/sales_kits.php +++ b/inventory/manage/sales_kits.php @@ -46,7 +46,7 @@ function display_kit_items($selected_kit) label_cell($myrow["stock_id"]); label_cell($myrow["comp_name"]); qty_cell($myrow["quantity"], false, - $myrow["units"] == '' ? 0 : get_qty_dec($myrow["comp_name"])); + $myrow["units"] == '' ? 0 : get_qty_dec($myrow["stock_id"])); label_cell($myrow["units"] == '' ? _('kit') : $myrow["units"]); edit_button_cell("Edit".$myrow['id'], _("Edit")); delete_button_cell("Delete".$myrow['id'], _("Delete")); -- 2.30.2