joomla/joomla-cms — pull request #142 by ryandemmer (2012-02-28 14:37:02+00:00)
Title: Remove layout from $query in ContentBuildRoute if an article or category is attached to a menu item

As reported here - https://github.com/joomla/joomla-cms/issues/141