// Fix class Gender (add static keyword)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8642 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ class GenderCore extends ObjectModel
|
||||
));
|
||||
}
|
||||
|
||||
public function getGenders($id_lang = null)
|
||||
public static function getGenders($id_lang = null)
|
||||
{
|
||||
if (is_null($id_lang))
|
||||
$id_lang = Context::getContext()->language->id;
|
||||
|
||||
Reference in New Issue
Block a user