Merge branch 'feature/stock_next' into develop
This commit is contained in:
@@ -68,7 +68,7 @@ class UploadService
|
|||||||
$counter = 1;
|
$counter = 1;
|
||||||
while (true) {
|
while (true) {
|
||||||
$candidatePath = $dir . $candidateName;
|
$candidatePath = $dir . $candidateName;
|
||||||
$existing = $uploadedFilesService->getFile(['file_path' => $candidatePath]);
|
$existing = $uploadedFilesService->findFile(['file_path' => $candidatePath]);
|
||||||
if (!$existing) {
|
if (!$existing) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user