[turba] Firstname/Lastname display problem

David Ross David.Ross at DCExperts.ca
Fri Jun 6 11:27:44 PDT 2003


Here's one of those cases why getting rid of the "Name" field and going 
with separate First and Last is much better.

Using Turba 1.2.  If the "Name" field has a comma (',') in it, and you 
set your Display preferences to "Firstname Lastname", the code in 
lib/Turba.php breaks and *nothing* gets displayed!

There are two if statements and one uses the strlen() function and the 
other uses String::length().  It appears String::length() doesn't 
work/exist (for me, anyway).  Changing the second if to use strlen() 
instead fixes my problem...

-----
168c168
<             String::length($name) > String::length($lastname)) {
---
 >             strlen($name) > strlen($lastname)) {




More information about the turba mailing list