Permalink
Browse files

Merge pull request #1844 from Paladin/patch-1

Update html.php
  • Loading branch information...
2 parents d0ec462 + 64b0240 commit 70cdd35e6c13c6ec8fc702c7685f85f1c1d9340e @eddieajau eddieajau committed Mar 6, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 libraries/joomla/document/html/html.php
@@ -542,6 +542,7 @@ public function countMenuChildren()
$query->from('#__menu');
$query->where('parent_id = ' . $active->id);
$query->where('published = 1');
+ $dbo->setQuery($query);
$children = $dbo->loadResult();
}
else

0 comments on commit 70cdd35

Please sign in to comment.