X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fdb%2Fcompany_db.inc;h=b75251d5feabc2cc0d3df5e95c29f1f061853660;hb=c85c10b86be48b2b1df728f4751adbb38f2ac8d4;hp=5ef679820c11ac41c9794b008ee582db81aea474;hpb=a5c53aafbadefff9eb7dc06aa9af23dd9d145894;p=fa-stable.git diff --git a/admin/db/company_db.inc b/admin/db/company_db.inc index 5ef67982..b75251d5 100644 --- a/admin/db/company_db.inc +++ b/admin/db/company_db.inc @@ -177,10 +177,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);