Skip to content

Commit

Permalink
Fax has a higher prio then home or work
Browse files Browse the repository at this point in the history
Home-fax and work-fax must map to fax
  • Loading branch information
jensbocklage committed May 31, 2019
1 parent 234e547 commit 84a5e1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions carddav2fb.php
Original file line number Diff line number Diff line change
Expand Up @@ -462,10 +462,10 @@ public function get_carddav_entries()
// set the proper type
if(in_array("cell", $typearr_lower))
$type = "mobile";
elseif(in_array("home", $typearr_lower))
$type = "home";
elseif(in_array("fax", $typearr_lower))
$type = "fax_work";
elseif(in_array("home", $typearr_lower))
$type = "home";
elseif(in_array("work", $typearr_lower))
$type = "work";
elseif(in_array("main", $typearr_lower))
Expand Down

0 comments on commit 84a5e1c

Please sign in to comment.