[Tickets #4769] Re: turba/lib/Driver: guessing first and last name

bugs@bugs.horde.org bugs at bugs.horde.org
Tue Dec 12 09:16:40 PST 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4769
-----------------------------------------------------------------------
 Ticket             | 4769
 Updated By         | patrick.abiven at apitech.fr
 Summary            | turba/lib/Driver: guessing first and last name
 Queue              | Turba
 Version            | HEAD
 Type               | Bug
 State              | Feedback
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


patrick.abiven at apitech.fr (2006-12-12 09:16) wrote:

Hello
You are right. My issue is that, at this point, I have an incorrect
lastname (splitted from the fullname after the last blank). And I was
thinking of setting the correct lastname at this point of the code. I will
look after the correct way to deal with that.
Thanks for your quick answer.
Patrick

> This was changed because that function is called statically, so you 
> can't use the $this reference...
>
> Testing it on my server, it seems to work as expected:  I have no 
> 'lastname' defined in the source, so the code tries to guess and adds 
> the firstname and lastname attributes to the hash array.
>
> I don't have any sources set up with explicit first/last name fields 
> at the moment so I can't test that.
>
> Can you provide a dump of the contents of $hash both before and after 
> that code block?





More information about the bugs mailing list