sdinteractive / SomethingDigital_EnterpriseIndexPerf

Magento EE index performance optimization
MIT License
8 stars 3 forks source link

Correct error when a category is deleted #17

Closed toddbc closed 8 years ago

toddbc commented 8 years ago

The category URL index was able to hit an "unsupported operand types" error in certain scenarios, like when a category deletion occurred.

This is because urlResource->getCategories specifically returns false when passed an empty array of category ids, but otherwise always returns an array.

dborishansky commented 8 years ago

LGTM