Skip to content

Commit

Permalink
parse error.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Feb 5, 2014
1 parent e4ffa04 commit 09ab7ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turba/lib/Driver.php
Expand Up @@ -2469,7 +2469,7 @@ public function toHash(Horde_Icalendar_Vcard $vcard)
// the source is, therefore we don't know the mappings available. Fixes
// importing vCards that have all EMAIL properties with a TYPE attribute.
// See Bug: 12955
if (!isset($hash['email']))
if (!isset($hash['email'])) {
if (!empty($hash['homeEmail'])) {
$hash['email'] = Horde_Icalendar_Vcard::getBareEmail($hash['homeEmail']);
} else if (!empty($hash['workEmail'])) {
Expand Down

0 comments on commit 09ab7ee

Please sign in to comment.