Update html.php

countMenuChildren can't return anything but zero, because the query is never set. This change sets it.
Merge pull request #1844 from Paladin/patch-1

Update html.php
Merge commit '70cdd35e6c13c6ec8fc702c7685f85f1c1d9340e' into HEAD