Skip to content

Commit

Permalink
Merge pull request #322 from eduardomozart/patch-7
Browse files Browse the repository at this point in the history
Fix ODTUtility.php inline file loading
  • Loading branch information
Klap-in committed Jul 25, 2024
2 parents 892ed10 + 2e928f3 commit f4ca448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ODT/ODTUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public static function getImageSize($src, $maxwidth=NULL, $maxheight=NULL){
if(file_exists($src)) {
$svgfile = @simplexml_load_file($src);
} else {
$svgfile = @simplexml_load_file($fetch);
$svgfile = @simplexml_load_string($fetch);
}

if(isset($svgfile["width"]) && isset($svgfile["height"]))
Expand Down

0 comments on commit f4ca448

Please sign in to comment.