-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ok,
I manage the problem by adding this to class.contacts_sql.inc.php :
function edit_location_by_contact($id, $data, action=PHPGW_SQL_RETURN_SQL)
{
~ $loc = CreateObject('phpgwapi.contact_addr');
~ return
$loc->update($data,sql_criteria::_equal('contact_id',sql::integer($id)),
$action);
}
Does it sounds like the good way to do it ?
Yes, i have this patch since some time ago, but i can't commit in cvs, you
can see in http://co.com.mx/~jarg/bugfix/contacts_bugfix9700.diff
I hope to find someone with commit access to the API for commit these and
other patches.