fixed type errors

This commit is contained in:
2023-04-29 18:01:27 +02:00
parent 9f18345585
commit ce7495fa1c
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
<%= stylesheet_link_tag 'jquery-fab.css', :plugin => 'baupm_core', :media => "screen" %>
<%= stylesheet_link_tag 'baupm.css', :plugin => 'baupm_core', :media => "screen" %>
<link href="/themes/<%= Setting.ui_theme %>/images/icons/favicon-32x32.png" sizes="32x32" rel="shortcut icon">
<% if Setting.plugin_baupm_core['baupm_enable_webapp'] == 1 %>
<% if Setting.plugin_baupm_core['baupm_enable_webapp'] == '1' %>
<link href="/themes/<%= Setting.ui_theme %>/images/icons/apple-touch-icon.png" rel="apple-touch-icon" type="image/png" sizes="180x180">
<link href="/themes/<%= Setting.ui_theme %>/images/icons/favicon-16x16.png" rel="icon" type="image/png" sizes="16x16">
<link href="/themes/<%= Setting.ui_theme %>/images/icons/favicon-32x32.png" rel="icon" type="image/png" sizes="32x32">

View File

@@ -1,4 +1,4 @@
<% if Setting.plugin_baupm_core['baupm_enable_webapp'] == 1 %>
<% if Setting.plugin_baupm_core['baupm_enable_webapp'] == '1' %>
{
"name": "<%= Setting.plugin_baupm_core['baupm_application_title'] %>",
<% if Setting.plugin_baupm_core['baupm_application_short_title'].present? %>