Skip to content

Commit

Permalink
naming update
Browse files Browse the repository at this point in the history
  • Loading branch information
sarjon committed Oct 8, 2018
1 parent 4b634d8 commit 3589787
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ public function __construct($contextLangId)
*/
public function isGranted(array $category)
{
$hasChildren = Category::getChildren($category['id_category'], $this->contextLangId);
$categoryChildren = Category::getChildren($category['id_category'], $this->contextLangId);

return !empty($hasChildren);
return !empty($categoryChildren);
}
}

0 comments on commit 3589787

Please sign in to comment.