diff --git a/app/views/application/_header.html.erb b/app/views/application/_header.html.erb index 240d188..0ded8cf 100755 --- a/app/views/application/_header.html.erb +++ b/app/views/application/_header.html.erb @@ -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" %> -<% if Setting.plugin_baupm_core['baupm_enable_webapp'] == 1 %> +<% if Setting.plugin_baupm_core['baupm_enable_webapp'] == '1' %> diff --git a/app/views/manifest/index.json.erb b/app/views/manifest/index.json.erb index 1639ffa..486aa00 100755 --- a/app/views/manifest/index.json.erb +++ b/app/views/manifest/index.json.erb @@ -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? %>