mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Import correct Document class into HasLogo trait. (#3717)
If you aren't using the local driver for logo storage, the attempts to use Document::getDirectFileUrl in this file will fail as it tries to autoload from Traits, Document needs to be explicitly imported.
This commit is contained in:
parent
cd2cbadd40
commit
9d2c0ea03b
@ -4,6 +4,7 @@ namespace App\Models\Traits;
|
||||
|
||||
use Utils;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use App\Models\Document;
|
||||
|
||||
/**
|
||||
* Class HasLogo.
|
||||
|
Loading…
Reference in New Issue
Block a user