Selaa lähdekoodia

add static fonction

cedric 9 kuukautta sitten
vanhempi
commit
44453620c7
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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();