mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
움직이는 webp 이미지를 처리하지 못하면서 발생하는 오류 수정
TypeError #0 "imagecopyresampled(): Argument #2 ($src_image) must be of type GdImage, bool given" in modules/document/document.item.php on line 1247 (via classes/file/FileHandler.class.php on line 661)
This commit is contained in:
parent
abacd82a6c
commit
8644227a03
1 changed files with 4 additions and 0 deletions
|
|
@ -583,6 +583,10 @@ class FileHandler
|
|||
{
|
||||
return false;
|
||||
}
|
||||
if (!$source)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// Rotate image
|
||||
if ($rotate)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue