diff --git a/templates/plugin_conf.erb b/templates/plugin_conf.erb index 74be769..b827992 100644 --- a/templates/plugin_conf.erb +++ b/templates/plugin_conf.erb @@ -1,10 +1,10 @@ <% # Select label from either config_label or from the namevar -if @config_label == :undef then +if @config_label == :undef or @config_label.nil? then label = @name else label = @config_label end -%> [<%= label %>] <%= Array(@config).join("\n") %>