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: Brian Johnson
Subject: Re: [Phpgroupware-developers] problem in addressbook
Date: Fri, 22 Oct 2004 14:57:07 +0000

It looks like the calls to this function were added to soadressbook by jarg in
August but there was nothing added to the api to answer the call.

Maybe jarg should comment on if your code does what was expected (my guess is
that you're correct)


Benoit Hamet (address@hidden) wrote:
>
> -----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-----
>
>
> _______________________________________________
> Phpgroupware-developers mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/phpgroupware-developers
>
>





reply via email to

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