mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
Fix URL parsing on vcard
This commit is contained in:
parent
03ed6a12e8
commit
80de3179a1
@ -119,10 +119,13 @@
|
||||
}
|
||||
} else {
|
||||
while ($data = fgets($fp,8000)) {
|
||||
list($name,$value) = split(':', $data);
|
||||
list($name,$value,$extra) = split(':', $data);
|
||||
if (strtolower(substr($name,0,5)) == 'begin') {
|
||||
$buffer = $this->import_start_record($buffer);
|
||||
}
|
||||
if (substr($value,0,5) == "http") {
|
||||
$value = $value . ":".$extra;
|
||||
}
|
||||
if ($name && $value) {
|
||||
reset($this->import);
|
||||
while ( list($fname,$fvalue) = each($this->import) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user