소스 검색

add static fonction

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