Skip to content

Commit

Permalink
fix(characters): resolve typo in function name
Browse files Browse the repository at this point in the history
  • Loading branch information
itinerare committed Jan 14, 2023
1 parent 4094310 commit 2e20ad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Services/CharacterManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ public function reuploadImage($data, $image, $user) {
unlink($image->imagePath.'/'.$image->fullsizeFileName);
}
}
if (file_exist($image->imagePath.'/'.$image->thumbnailFileName)) {
if (file_exists($image->imagePath.'/'.$image->thumbnailFileName)) {
unlink($image->imagePath.'/'.$image->thumbnailFileName);
}

Expand Down

0 comments on commit 2e20ad4

Please sign in to comment.