Skip to content

Commit

Permalink
fix remove slow call
Browse files Browse the repository at this point in the history
  • Loading branch information
garfix committed Jul 14, 2018
1 parent 3923309 commit ac6881d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Resource/Resolver/CategoryImporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ protected function getAllCategoryInfo()
*/
public function getCategoryInfo($categoryId)
{
return array_key_exists($categoryId, $this->getAllCategoryInfo()) ? $this->allCategoryInfo[$categoryId] : null;
return array_key_exists($categoryId, $this->allCategoryInfo) ? $this->allCategoryInfo[$categoryId] : null;
}

/**
Expand Down

0 comments on commit ac6881d

Please sign in to comment.