Explorar el Código

add static fonction

cedric hace 9 meses
padre
commit
44453620c7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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();