From: Janusz Dobrowolski Date: Thu, 26 Jun 2008 19:15:43 +0000 (+0000) Subject: Fixed bug 0000008 X-Git-Tag: v2.4.2~19^2~1967 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=ce71d30f1c18212a6571cf6286c72b20171a8840;p=fa-stable.git Fixed bug 0000008 --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index f1d9676b..85bbb095 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -34,6 +34,8 @@ $ /includes/ui/ui_lists.inc /purchasing/po_entry_items.php ! Changes to items_cart API (line_items indexed by line# instead of stock_id) $ /includes/ui/items_cart.inc +# Fixed bug 0000008 (call to no more existing function) +$ /sales/includes/db/sales_types_db.inc 25-Jun-2008 Joe Hunt # Fixed 'div end out of order' in invoice_ui.inc causing the newwave bug with missing menu diff --git a/sales/includes/db/sales_types_db.inc b/sales/includes/db/sales_types_db.inc index 4bde3750..85c83420 100644 --- a/sales/includes/db/sales_types_db.inc +++ b/sales/includes/db/sales_types_db.inc @@ -2,11 +2,7 @@ function add_sales_type($name, $tax_included, $factor) { - // maximum one base price list - clear_base_sales_type(); - $sql = "INSERT INTO ".TB_PREF."sales_types (sales_type,tax_included,factor) VALUES (".db_escape($name).",'$tax_included',$factor)"; - db_query($sql, "could not add sales type"); }