joomla/joomla-cms — pull request #395 by phproberto (2012-09-16 02:11:12+00:00)
Title: [#28990] Unpublish default menu item gives a PHP exception

Tracker issue link:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=28990

Also changed the publish method to use joomla standards