X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=admin%2Fdb%2Fcompany_db.inc;h=9fd2e68c27adf2931ce65aeb9bb01586bd801526;hb=e9782c04faf09dd040dbc0c908cdb6e6d4f0dcfc;hp=bd9c4ea5d635587e2c74001281717d4d6231a465;hpb=d23fa06617d0ea628c14a02d08e8b85d711444a5;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);