Skip to content

Commit

Permalink
This is a property, not a method.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Feb 10, 2018
1 parent 3ebdb04 commit 60bdce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Api.php
Expand Up @@ -206,7 +206,7 @@ public function setVacation($info, $enable = true)
}
}

$vacation->addresses($info['addresses']);
$vacation->addresses = $info['addresses'];
if (isset($info['days'])) {
$vacation->days = $info['days'];
}
Expand Down

0 comments on commit 60bdce6

Please sign in to comment.