projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0001503: Request - fee account included in bank account table
[fa-stable.git]
/
admin
/
db
/
company_db.inc
diff --git
a/admin/db/company_db.inc
b/admin/db/company_db.inc
index 1a01ec63e7200108ccbd8f37879837a81b0b6f09..9fd2e68c27adf2931ce65aeb9bb01586bd801526 100644
(file)
--- a/
admin/db/company_db.inc
+++ b/
admin/db/company_db.inc
@@
-68,7
+68,7
@@
function get_company_pref($prefs = null)
return $ret;
}
return $ret;
}
-function
set_company_pref($pref, $category, $type, $length, $value
)
+function
get_company_prefs(
)
{
return get_company_pref(null);
}
{
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.
*/
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);
if (!is_array($tables))
$tables = array($tables);