Skip to content

Commit a4ce7d7

Browse files
authored
Merge pull request #2 from khorsky/php72-compatibility
fix forgotten backward incompatibility
2 parents 2025d1a + 775c199 commit a4ce7d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MAPI/Message/Attachment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function getEmbeddedOleData()
103103

104104
public function isValid()
105105
{
106-
return (count($this->properties) > 0);
106+
return $this->properties !== null;
107107
}
108108

109109
public function __get($name)

0 commit comments

Comments
 (0)