1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00

Merge pull request #5702 from turbo124/v5-develop

Fixes for typo
This commit is contained in:
David Bomba 2021-05-14 19:50:47 +10:00 committed by GitHub
commit 5b78717de4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,7 @@ class GenerateDeliveryNote
/* Copy from remote disk to local when using cloud file storage. */
if(config('filesystems.default') == 's3')
return TempFile::path(Storage::disk($disk)->url($file_path));
return TempFile::path(Storage::disk($this->disk)->url($file_path));
return $file_path;
}