-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
I get the following PHP warning when uploading an image without a storage filter specified (set to false in config):
Warning: unlink(./uploads/profile-images/58): No such file or directory in ./vendor/hrevert/ht-profile-image/src/Service/ProfileImageService.php on line 79
Probably the reason is this:
https://github.com/hrevert/HtProfileImage/blob/master/src/Service/ProfileImageService.php#L68
Here the file is just being moved from the temp directory to the profile image folder, but:
https://github.com/hrevert/HtProfileImage/blob/master/src/Service/ProfileImageService.php#L79
Here the "old" temp file is being deleted regardless although it just got moved out of there.
Metadata
Metadata
Assignees
Labels
No labels