phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] problem in addressbook


From: Benoit Hamet
Subject: Re: [Phpgroupware-developers] problem in addressbook
Date: Fri, 22 Oct 2004 14:29:10 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5

-----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 ?

Thanks,

Caeies

PS: I will post that on savannah ASAP

Benoit Hamet wrote:
| Heya all,
|
| I just try the addressbook functions and get this error :
|
| Call to undefined function:  edit_location_by_contact() in
| phpgroupware-0.9.16.003/addressbook/inc/class.soaddressbook.inc.php on
| line 445
|
| After a rgrep in the whole phpgw it seems that this function is only
| call 2 times in addressbook.
|
| the only related function that I found are :
| edit_comms_by_contact
| get_addr_by_contact
| get_phone_by_contact
|
| To get this error,
|
| fill things, then go in address and save from here ...
|
| We are close from cvs ...
|
| Any idea ?
|
| Cheers,
|
| Caeies

_______________________________________________
Phpgroupware-developers mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/phpgroupware-developers


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD4DBQFBeP0V56VISwbmr2sRAvtBAJ9ynYl9U327PGYToM3bhIoGgt6e+gCXREI4
UTAtWfwWEDYX5bKRMjCvgg==
=4iCb
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]