Skip to content

Commit

Permalink
Fixed Undefined offset
Browse files Browse the repository at this point in the history
  • Loading branch information
vseager committed Nov 12, 2015
1 parent e3f3529 commit d660117
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public function getJsonConfig()

protected function _getSorts($attributeId)
{
if (null === $this->_sorts[$attributeId]) {
if (empty($this->_sorts[$attributeId])) {
$this->_sorts[$attributeId] = array_reduce(
Mage::getResourceModel('eav/entity_attribute_option_collection')
->setAttributeFilter($attributeId)
Expand Down

0 comments on commit d660117

Please sign in to comment.