diff --git a/lib/additionals/wiki_macros/meteoblue_macro.rb b/lib/additionals/wiki_macros/meteoblue_macro.rb index 2d7e8bb7..bf825822 100644 --- a/lib/additionals/wiki_macros/meteoblue_macro.rb +++ b/lib/additionals/wiki_macros/meteoblue_macro.rb @@ -97,9 +97,9 @@ module MeteoblueMacro end end - def self.meteoblue_flag(options, name, default = tue) - flag = "#{name}=" - flag << if RedminePluginKit.true?(options[name]) || default + def self.meteoblue_flag(options, name, default = true) + flag = "&#{name}=" + flag << if RedminePluginKit.true? options[name] || default '1' else '0'