[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-developers] problem in addressbook
From: |
jarg |
Subject: |
Re: [Phpgroupware-developers] problem in addressbook |
Date: |
Fri, 22 Oct 2004 11:15:55 -0500 (CDT) |
User-agent: |
SquirrelMail/1.4.2 |
> -----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.