opencart/opencart — pull request #2531 by deniskoronets (2014-12-31 13:07:51+00:00)
Title: ModelCatalogProduct changed

ModelCatalogProduct. Fixed caching at getLatestProducts, added caching to getPopularProducts.
At getLatestProducts method, if there are no cached results, php converting null to array: $product_data[$result['product_id']] = $this->getProduct($result['product_id']);