summaryrefslogtreecommitdiffstats
path: root/lib/redmine/views
diff options
context:
space:
mode:
Diffstat (limited to 'lib/redmine/views')
-rw-r--r--lib/redmine/views/builders/structure.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/redmine/views/builders/structure.rb b/lib/redmine/views/builders/structure.rb
index b1add8be8..c168bd73a 100644
--- a/lib/redmine/views/builders/structure.rb
+++ b/lib/redmine/views/builders/structure.rb
@@ -37,6 +37,8 @@ module Redmine
if args.first.is_a?(Hash)
if @struct.last.is_a?(Array)
@struct.last << args.first
+ else
+ @struct.last[sym] = args.first
end
else
if @struct.last.is_a?(Array)