This commit is contained in:
2025-09-15 17:27:26 +08:00
parent 88bc59ed87
commit c24c9af1fd
+1 -1
View File
@@ -68,7 +68,7 @@ class UploadService
$counter = 1;
while (true) {
$candidatePath = $dir . $candidateName;
$existing = $uploadedFilesService->getFile(['file_path' => $candidatePath]);
$existing = $uploadedFilesService->findFile(['file_path' => $candidatePath]);
if (!$existing) {
break;
}