summaryrefslogtreecommitdiffstats
path: root/lib/redmine/menu_manager.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-23 18:25:30 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-23 18:25:30 +0000
commit4f907d5c9e6e477a5af02069382eff9a3fa8f785 (patch)
tree0596978bb40ef60bec384a0c2785fdc43e09ce5f /lib/redmine/menu_manager.rb
parent22c92f555380f96368b6897cdaddbba41a465429 (diff)
downloadredmine-4f907d5c9e6e477a5af02069382eff9a3fa8f785.tar.gz
redmine-4f907d5c9e6e477a5af02069382eff9a3fa8f785.zip
Initialize @childrenHash.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7895 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/menu_manager.rb')
-rw-r--r--lib/redmine/menu_manager.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/redmine/menu_manager.rb b/lib/redmine/menu_manager.rb
index 9f9c78163..eaa2350f7 100644
--- a/lib/redmine/menu_manager.rb
+++ b/lib/redmine/menu_manager.rb
@@ -26,6 +26,7 @@ module TreeNodePatch
alias :old_initilize :initialize
def initialize(name, content = nil)
old_initilize(name, content)
+ @childrenHash ||= {}
@last_items_count = 0
extend(InstanceMethods)
end