diff --git a/app/code/local/Edge/AllConfigurableOptions/Block/Product/View/Type/Configurable.php b/app/code/local/Edge/AllConfigurableOptions/Block/Product/View/Type/Configurable.php index 6af278d..5f12032 100644 --- a/app/code/local/Edge/AllConfigurableOptions/Block/Product/View/Type/Configurable.php +++ b/app/code/local/Edge/AllConfigurableOptions/Block/Product/View/Type/Configurable.php @@ -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)