1
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user