From c28ffac7e8e0717ef545c4a14a6b66cbe56f8456 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Sun, 20 Sep 2009 16:31:32 +0000 Subject: [PATCH] Bug in rates display fixed in single form layout. --- taxes/tax_groups.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/taxes/tax_groups.php b/taxes/tax_groups.php index 8e879cd4..07cda243 100644 --- a/taxes/tax_groups.php +++ b/taxes/tax_groups.php @@ -176,9 +176,9 @@ while ($myrow = db_fetch($result)) inactive_control_row($th); end_table(1); -end_form(); // was missing + //----------------------------------------------------------------------------------- -start_form(); // was missing + start_table($table_style2); if ($selected_id != -1) @@ -200,6 +200,7 @@ if ($selected_id != -1) $_POST['rate' . $i] = percent_format($tax_item["rate"]); $i ++; } + while($i<5) unset($_POST['tax_type_id'.$i++]); } hidden('selected_id', $selected_id); -- 2.30.2