cedric пре 9 месеци
родитељ
комит
44453620c7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      classes/chcreapost.php

+ 1 - 1
classes/chcreapost.php

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