mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 07:02:34 +01:00
Fix for logo
This commit is contained in:
parent
630a6884dd
commit
599a1626a7
@ -36,7 +36,7 @@ class CompanyPresenter extends EntityPresenter
|
|||||||
$settings = $this->entity->settings;
|
$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;
|
return $settings->company_logo;
|
||||||
else if(strlen($settings->company_logo) >= 1)
|
else if(strlen($settings->company_logo) >= 1)
|
||||||
return url('') . $settings->company_logo;
|
return url('') . $settings->company_logo;
|
||||||
|
Loading…
Reference in New Issue
Block a user