mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
Fixes for import of homeurl
This commit is contained in:
parent
429ab044c1
commit
81ad9bdf63
@ -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 '<br>'.$j.': '.$name.' => '.$value;
|
||||
if ($o->import[$name] != "" && $value != "") {
|
||||
$buffer = $o->import_new_attrib($buffer, $o->import[$name],$value);
|
||||
|
Loading…
Reference in New Issue
Block a user