Skip to content

Commit 490bb63

Browse files
committed
Merge branch 'master' of https://github.com/Magoja/php-font-lib into Magoja-master
2 parents d31a167 + 1891681 commit 490bb63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FontLib/Binary_Stream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function read($n) {
148148
}
149149

150150
public function write($data, $length = null) {
151-
if ($data === null || $data === "") {
151+
if ($data === null || $data === "" || $data === false) {
152152
return 0;
153153
}
154154

0 commit comments

Comments
 (0)