joomla/joomla-cms — pull request #2792 by Hackwar (2014-01-15 08:43:10+00:00)
Title: Query-fix in com_content article modal

This change prevents the query from being executed when the value is 0. There is never an article with ID 0 and especially when there are more than one modal select per page, you have several unnecessary queries.