Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 22, 2017
1 parent db9cc46 commit 109e0f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion htdocs/admin/dolistore/class/dolistore.class.php
Expand Up @@ -200,7 +200,9 @@ function get_categories($parent = 0)
$html = '';
}

for ($i = 0; $i < count($this->categories); $i++) {
$nbofcateg = count($this->categories);
for ($i = 0; $i < $nbofcateg; $i++)
{
$cat = $this->categories[$i];
if ($cat->is_root_category == 1 && $parent == 0) {
$html .= '<li class="root"><h3 class="nomargesupinf"><a class="nomargesupinf link2cat" href="?mode=marketplace&categorie='.$cat->id.'" '
Expand Down

0 comments on commit 109e0f7

Please sign in to comment.