X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=inline;f=purchasing%2Fincludes%2Fdb%2Fsuppliers_db.inc;h=cab8eace7ba9eadb5090fe30f4296ef614c99989;hb=1b9351ae81a67726e757eba55895a4f059c7f128;hp=61cf2bdce8a8194ab8e4bdda72024cbffa38679d;hpb=f60b8293f0316ef03429af363b30c753532a67d6;p=fa-stable.git diff --git a/purchasing/includes/db/suppliers_db.inc b/purchasing/includes/db/suppliers_db.inc index 61cf2bdc..cab8eace 100644 --- a/purchasing/includes/db/suppliers_db.inc +++ b/purchasing/includes/db/suppliers_db.inc @@ -19,7 +19,7 @@ function add_supplier($supp_name, $supp_ref, $address, $supp_address, $gst_no, supp_account_no, bank_account, credit_limit, dimension_id, dimension2_id, curr_code, payment_terms, payable_account, purchase_account, payment_discount_account, notes, tax_group_id, tax_included, tax_algorithm) - VALUES (".db_escape($_POST['supp_name']). ", " + VALUES (".db_escape($supp_name). ", " .db_escape($supp_ref). ", " .db_escape($address) . ", " .db_escape($supp_address) . ", "