Created
August 4, 2015 15:32
-
-
Save drobinson/16dbdc7873bb9a366f99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Option/Collection.php | |
+++ b/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Option/Collection.php | |
@@ -114,7 +114,7 @@ class Mage_Eav_Model_Resource_Entity_Attribute_Option_Collection extends Mage_Co | |
*/ | |
public function setIdFilter($optionId) | |
{ | |
- return $this->addFieldToFilter('option_id', array('in' => $optionId)); | |
+ return $this->addFieldToFilter('main_table.option_id', array('in' => $optionId)); | |
} | |
/** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment