joomla/joomla-cms — pull request #2794 by Hackwar (2014-01-15 09:37:25+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.