From a715104779609adf0a55f98494614e4e2a9b007c Mon Sep 17 00:00:00 2001 From: Jeroen Desloovere Date: Tue, 24 Feb 2015 11:16:13 +0100 Subject: [PATCH] Fixes travis executing. Checking if filename is null instead of using empty() --- src/VCard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VCard.php b/src/VCard.php index e583d99..94d527b 100644 --- a/src/VCard.php +++ b/src/VCard.php @@ -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); } }