Skip to content

Commit 203a046

Browse files
committed
Changed back
1 parent 2069792 commit 203a046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ImageResize.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function __construct($filename)
105105
if (!defined('IMAGETYPE_WEBP')) {
106106
define('IMAGETYPE_WEBP', 18);
107107
}
108-
if ($filename === null || empty($filename) || (substr($filename, 0, 7) !== 'data://' && !is_file($filename))) {
108+
if ($filename === null || empty($filename) || (substr($filename, 0, 5) !== 'data:' && !is_file($filename))) {
109109
throw new ImageResizeException('File does not exist');
110110
}
111111

0 commit comments

Comments
 (0)