Closed bp612 closed 6 years ago
Inside the handler for the cataloginventory_stock_item_save_after in the Lesti_Fpc_Model_Observer_Save class it checks for changes as follows:
cataloginventory_stock_item_save_after
Lesti_Fpc_Model_Observer_Save
if ($item->getStockStatusChangedAuto()) { $this->_getFpc()->clean(sha1('product_' . $item->getProductId())); }
This is incorrect, getStockStatusChangedAuto is never set. It should be getStockStatusChangedAutomatically
getStockStatusChangedAuto
getStockStatusChangedAutomatically
I'm wrong, ignore this, my bad.
Inside the handler for the
cataloginventory_stock_item_save_after
in theLesti_Fpc_Model_Observer_Save
class it checks for changes as follows:This is incorrect,
getStockStatusChangedAuto
is never set. It should begetStockStatusChangedAutomatically