Fixed offset issue for #8732

This commit is contained in:
snipe 2020-11-12 15:51:31 -08:00
parent 7432e3fb2d
commit 6dccf399a5

View file

@ -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]));