X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fdb%2Fcompany_db.inc;h=9fd2e68c27adf2931ce65aeb9bb01586bd801526;hb=7840540918bfd37c886877a5d52e3ba0b3373289;hp=bd9c4ea5d635587e2c74001281717d4d6231a465;hpb=5838404faacacbe4f77dd77bc1cd88fabc213a02;p=fa-stable.git diff --git a/admin/db/company_db.inc b/admin/db/company_db.inc index bd9c4ea5..9fd2e68c 100644 --- a/admin/db/company_db.inc +++ b/admin/db/company_db.inc @@ -170,10 +170,8 @@ function get_payment_terms_all($show_inactive) value is name of foreign key field. For numeric keys $stdkey field name is used. $stdkey - standard name of foreign key. */ -function key_in_foreign_table($id, $tables, $stdkey, $escaped=false) +function key_in_foreign_table($id, $tables, $stdkey) { - if (!$escaped) - $id = db_escape($id); if (!is_array($tables)) $tables = array($tables);