mirror of
https://github.com/archtechx/tenancy.git
synced 2026-09-20 16:44:04 +00:00
Skip disks with *empty* url_override in diskUrl()
Previously, we only skipped disks with `null` override. But an override with an empty string is also incorrect, and simply checking if $this->app['config']["tenancy.filesystem.url_override.{$disk}"]) is falsy instead of strictly null takes care of that.
This commit is contained in:
parent
6b27bc5f36
commit
7ecb34f3fe
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ class FilesystemTenancyBootstrapper implements TenancyBootstrapper
|
|||
{
|
||||
$diskConfig = $this->app['config']["filesystems.disks.{$disk}"];
|
||||
|
||||
if ($diskConfig['driver'] !== 'local' || $this->app['config']["tenancy.filesystem.url_override.{$disk}"] === null) {
|
||||
if ($diskConfig['driver'] !== 'local' || ! $this->app['config']["tenancy.filesystem.url_override.{$disk}"]) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue