mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -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.');
|
$this->info("\nThere are ".count($logos).' files that might be logos.');
|
||||||
$type_count = 0;
|
$type_count = 0;
|
||||||
|
|
||||||
for ($l = 0; $l < count($logos); $l++) {
|
for ($l = 0; $l <= count($logos); $l++) {
|
||||||
$type_count++;
|
$type_count++;
|
||||||
$filename = basename($logos[$l]);
|
$filename = basename($logos[$l]);
|
||||||
$new_url = Storage::disk('public')->url($logos[$l], file_get_contents($public_upload[$l]));
|
$new_url = Storage::disk('public')->url($logos[$l], file_get_contents($public_upload[$l]));
|
||||||
|
|
Loading…
Reference in a new issue