Skip to content

Commit

Permalink
Merge pull request #193 from jgangso/main
Browse files Browse the repository at this point in the history
Fix argument parsing on meteoblue macro
  • Loading branch information
alexandermeindl authored Dec 20, 2024
2 parents d7f7365 + 81a36fd commit d2c84d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/additionals/wiki_macros/meteoblue_macro.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit d2c84d6

Please sign in to comment.