// 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:
rMalie
2011-09-19 13:30:11 +00:00
parent d8f69d3cc2
commit 031c450293
+1 -1
View File
@@ -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;