X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fdb%2Fcompany_db.inc;h=9fd2e68c27adf2931ce65aeb9bb01586bd801526;hb=7840540918bfd37c886877a5d52e3ba0b3373289;hp=1a01ec63e7200108ccbd8f37879837a81b0b6f09;hpb=78fe8cb8f56510ba3f6a1720b207a33b5828e071;p=fa-stable.git diff --git a/admin/db/company_db.inc b/admin/db/company_db.inc index 1a01ec63..9fd2e68c 100644 --- a/admin/db/company_db.inc +++ b/admin/db/company_db.inc @@ -68,7 +68,7 @@ function get_company_pref($prefs = null) return $ret; } -function set_company_pref($pref, $category, $type, $length, $value) +function get_company_prefs() { return get_company_pref(null); } @@ -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);