Fix URL parsing on vcard

This commit is contained in:
Miles Lott 2001-03-21 00:14:04 +00:00
parent 03ed6a12e8
commit 80de3179a1

View File

@ -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) ) {