silverstripe/silverstripe-cms — pull request #85 by lingo (2012-04-07 16:18:24+00:00)
Title: EDIT: 2.4 -- bugfix with CMSMenu::replace_menu_item

**Pull-request adjusted to correct upstream branch**

According to documentation, you may optionally specify a controller for permission checks. However if you do, then the $title parameter is ignored. If you don't then I'm getting an error because the code calls singleton(null).

Any feedback appreciated.

Ta.