related to #1684 SVG support compatibility with php 8.0 and 8.1

This commit is contained in:
Matthieu Leproux
2022-07-06 16:47:13 +02:00
parent a2db81c6e8
commit fba93e05b9
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ final class SrcImage
}
$size = getimagesize(PHPWG_ROOT_PATH.$this->rel_path);
}
$this->size = array($size[0],$size[1]);
$this->size = @array($size[0],$size[1]);
}
if (!$this->size)