diff --git a/addressbook/import.php b/addressbook/import.php index 4fa1524961..bbffb831f3 100644 --- a/addressbook/import.php +++ b/addressbook/import.php @@ -93,7 +93,7 @@ } } else { while ($data = fgets($fp,8000)) { - list($name,$value) = split(':', $data); + list($name,$value,$url) = split(':', $data); if (substr($name,0,2) == 'dn') { $buffer = $o->import_start_record($buffer); } @@ -103,6 +103,10 @@ $name = "mail"; $value = $test[1]; } + if ($url) { + $name = "homeurl"; + $value = $value . ':' . $url; + } //echo '
'.$j.': '.$name.' => '.$value; if ($o->import[$name] != "" && $value != "") { $buffer = $o->import_new_attrib($buffer, $o->import[$name],$value);