This is the fix for performing strtolower on fields such as givenName from Mozilla

This commit is contained in:
Miles Lott 2003-10-19 07:48:12 +00:00
parent b31581a53c
commit a6247a6191

View File

@ -165,8 +165,9 @@
{ {
while($data = fgets($fp,8000)) while($data = fgets($fp,8000))
{ {
$url = ""; $url = '';
list($name,$value,$extra) = split(':', $data); list($name,$value,$extra) = split(':', $data);
$name = strtolower($name);
if(substr($name,0,2) == 'dn') if(substr($name,0,2) == 'dn')
{ {
$buffer = $contacts->import_start_record($buffer); $buffer = $contacts->import_start_record($buffer);