joomla/joomla-platform — pull request #1844 by Paladin (2013-03-06 20:49:15+00:00)
Title: Update html.php

countMenuChildren can't return anything but zero, because the query is never set. This change sets it.