pyrocms/pyrocms — pull request #2534 by dmyers2004 (2013-03-06 15:22:45+00:00)
Title: Fix for the Event "admin_menu"

Fix for the Core Event "admin_menu"
The default return of type string was incorrect (and actually threw an error).
Once switched to "return array" the array would have contained an extra top level
because everyone would have gotten a copy of $menu which was returned and appended to the trigger return array therefore we need to dive in and grab the last modifed menu