Skip to content

Commit 775c199

Browse files
committed
fix backward incompatibility
1 parent 2025d1a commit 775c199

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)