Skip to content

Commit

Permalink
Merge pull request #2 from carlos22/master
Browse files Browse the repository at this point in the history
Update merge form fork base
  • Loading branch information
FoxRomeo authored Nov 12, 2019
2 parents 1382a23 + 47e99d2 commit 4b470c9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions carddav2fb.php
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,10 @@ public function get_carddav_entries()
$quickdial = $value;
}
}

foreach($t['type'] as $k=>$v) {
$t['type'][$k] = str_replace('"','',$v);
}

$typearr_lower = unserialize(strtolower(serialize($t['type'])));

Expand All @@ -468,6 +472,8 @@ public function get_carddav_entries()
$type = "other";
elseif(in_array("dom", $typearr_lower))
$type = "other";
elseif(in_array("voice", $typearr_lower))
$type = "other";
else
continue;
}
Expand Down

0 comments on commit 4b470c9

Please sign in to comment.