Skip to content

Commit 54e51a5

Browse files
author
Phil Wilkinson
committed
Fixed negated negative expression always being false
1 parent 64719ac commit 54e51a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpPresentation/Reader/ODPresentation.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ protected function loadShapeMedia(DOMElement $oNodeFrame): void
661661
}
662662

663663
$filePathParts = explode('/', $filePath);
664-
if (!$filePathParts || $filePathParts[0] !== 'Media') {
664+
if ($filePathParts[0] !== 'Media') {
665665
return;
666666
}
667667

0 commit comments

Comments
 (0)