diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-01-07 09:05:30 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-07 09:05:30 +0000 |
| commit | dedda72297772dc5682e5331471dfc41beaf1d4a (patch) | |
| tree | 45c689f24b8aba8fc1ea39679f4ad7c43b170bf2 /core | |
| parent | 8bcc3de28df6451c17c2be232595f9023c98e4b3 (diff) | |
Add 'root' as a legal factory type
Diffstat (limited to 'core')
| -rw-r--r-- | core/libraries/Menu.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/libraries/Menu.php b/core/libraries/Menu.php index 5ff508a4..26621351 100644 --- a/core/libraries/Menu.php +++ b/core/libraries/Menu.php @@ -104,6 +104,7 @@ class Menu_Core extends Menu_Element { case "dialog": return new Menu_Element_Dialog(); + case "root": case "submenu": return new Menu(); |
