1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 05:32:39 +01:00

Merge pull request #5077 from turbo124/v5-develop

Fix for company logo
This commit is contained in:
David Bomba 2021-03-10 07:56:45 +11:00 committed by GitHub
commit ae3779f44d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ class CompanyPresenter extends EntityPresenter
$settings = $this->entity->settings;
}
if(strlen($settings->company_logo) >= 1 && strpos($settings->company_logo, 'http'))
if(strlen($settings->company_logo) >= 1 && (strpos($settings->company_logo, 'http') !== false))
return $settings->company_logo;
else if(strlen($settings->company_logo) >= 1)
return url('') . $settings->company_logo;