Skip to content

Commit

Permalink
Fixes travis executing.
Browse files Browse the repository at this point in the history
Checking if filename is null instead of using empty()
  • Loading branch information
jeroendesloovere committed Feb 24, 2015
1 parent e1f1542 commit a715104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VCard.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function addCompany($company)
$this->setProperty('ORG', $company);

// if filename is empty, add to filename
if (empty($this->getFilename())) {
if ($this->getFilename() === null) {
$this->setFilename($company);
}
}
Expand Down

0 comments on commit a715104

Please sign in to comment.