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

Merge pull request #5078 from turbo124/v5-stable

Fix for company logo
This commit is contained in:
David Bomba 2021-03-10 07:59:03 +11:00 committed by GitHub
commit c22dcc7027
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 49630 additions and 49563 deletions

View File

@ -1 +1 @@
5.1.16
5.1.17

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;

View File

@ -13,7 +13,7 @@ return [
'require_https' => env('REQUIRE_HTTPS', true),
'app_url' => rtrim(env('APP_URL', ''), '/'),
'app_domain' => env('APP_DOMAIN', ''),
'app_version' => '5.1.16',
'app_version' => '5.1.17',
'minimum_client_version' => '5.0.16',
'terms_version' => '1.0.1',
'api_secret' => env('API_SECRET', false),

View File

@ -30,7 +30,7 @@ const RESOURCES = {
"assets/packages/material_design_icons_flutter/lib/fonts/materialdesignicons-webfont.ttf": "3e722fd57a6db80ee119f0e2c230ccff",
"assets/FontManifest.json": "cf3c681641169319e61b61bd0277378f",
"/": "23224b5e03519aaa87594403d54412cf",
"main.dart.js": "5d07ed9b68a49cac769dfb57aac0080c",
"main.dart.js": "b47a232664791053223138fe8bf8322c",
"version.json": "b7c8971e1ab5b627fd2a4317c52b843e",
"favicon.png": "dca91c54388f52eded692718d5a98b8b"
};

99185
public/main.dart.js vendored

File diff suppressed because one or more lines are too long