From 48db6fc21c2e10bf6627faedf9f4bf34ac0ac2b6 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Sun, 6 Apr 2008 19:52:22 +0000 Subject: [PATCH] Fixed typo causing error when adding new tax type. --- CHANGELOG.txt | 2 ++ taxes/tax_types.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index e81a5ade..4c0191fa 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -29,6 +29,8 @@ $ install.html 06-Apr-2008 Janusz Dobrowolski # Sales invoice edition denied for documents created in FA 1.xx because of nonportable differences in gl posting/db schema. /sales/customer_invoice.php +# Fixed typo causing error while adding new tax type. + /taxes/tax_types.php 05-Apr-2008 Joe Hunt # Fixed a bug when creating subfolder for new companies. Should be company id and not the table pref counter. diff --git a/taxes/tax_types.php b/taxes/tax_types.php index 51fd5760..55e40950 100644 --- a/taxes/tax_types.php +++ b/taxes/tax_types.php @@ -42,7 +42,7 @@ if (isset($_POST['ADD_ITEM']) && can_process()) { add_tax_type($_POST['name'], $_POST['sales_gl_code'], - $_POST['purchasing_gl_code'], imput_num('rate')); + $_POST['purchasing_gl_code'], input_num('rate')); meta_forward($_SERVER['PHP_SELF']); } -- 2.30.2