Browse Source

add static fonction

cedric 9 months ago
parent
commit
44453620c7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      classes/chcreapost.php

+ 1 - 1
classes/chcreapost.php

@@ -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();