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]
/
includes
/
db
/
crm_contacts_db.inc
diff --git
a/includes/db/crm_contacts_db.inc
b/includes/db/crm_contacts_db.inc
index 8e1c045e4b64ea2e3dbabf1349bf895a5f902692..3b47790fb313b851fb289d9cf16469157eecc750 100644
(file)
--- a/
includes/db/crm_contacts_db.inc
+++ b/
includes/db/crm_contacts_db.inc
@@
-150,8
+150,8
@@
function update_person_contacts($id, $cat_ids, $entity_id=null)
$ret = db_query($sql, "Can't delete person contacts");
$ret = db_query($sql, "Can't delete person contacts");
- foreach($cat_ids as $n => $id)
- $cat_ids[$n] = db_escape($id);
+ foreach($cat_ids as $n => $
c
id)
+ $cat_ids[$n] = db_escape($
c
id);
if($ret && count($cat_ids)) {
array_walk($cat_ids,'db_escape');
if($ret && count($cat_ids)) {
array_walk($cat_ids,'db_escape');