mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-23 12:44:12 -08:00
Fixed offset issue for #8732
This commit is contained in:
parent
7432e3fb2d
commit
6dccf399a5
|
@ -88,7 +88,7 @@ class MoveUploadsToNewDisk extends Command
|
|||
$this->info("\nThere are ".count($logos).' files that might be logos.');
|
||||
$type_count = 0;
|
||||
|
||||
for ($l = 0; $l < count($logos); $l++) {
|
||||
for ($l = 0; $l <= count($logos); $l++) {
|
||||
$type_count++;
|
||||
$filename = basename($logos[$l]);
|
||||
$new_url = Storage::disk('public')->url($logos[$l], file_get_contents($public_upload[$l]));
|
||||
|
|
Loading…
Reference in a new issue