[imp] TURBA ERROR ???

Sven 'Darkman' Michels darkman@gmx.net
Mon, 04 Mar 2002 21:56:43 +0100


Tiago Fioreze wrote:

>          When I try to add some person in my addressbook
> through icon of the field FROM, I get the message :
> 
> 
>          "This person is already in your addressbook."
> 
>          But the person still is not in mine adrressbook.

Fix:

change line 93 in turba/lib/api.php to:
$res->count() > 0 instead of count($res) > 0

(if i remember right, doesnt have the original source now..)

That should fix your Problem (just to have it again in the
archives ;) it takes me some hours to find that in the archives..)

HTH
Sven