|
@@ -527,7 +527,7 @@ class Chcreapost extends ObjectModel
|
|
|
*
|
|
*
|
|
|
* @return [type]
|
|
* @return [type]
|
|
|
*/
|
|
*/
|
|
|
- protected function getViewedProducts($productIds)
|
|
|
|
|
|
|
+ protected static function getViewedProducts($productIds)
|
|
|
{
|
|
{
|
|
|
if (!empty($productIds)) {
|
|
if (!empty($productIds)) {
|
|
|
$context = Context::getContext();
|
|
$context = Context::getContext();
|