1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Fix for logo

This commit is contained in:
David Bomba 2021-03-10 07:56:23 +11:00
parent 630a6884dd
commit 599a1626a7

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;