// Fix class Gender (add static keyword)

This commit is contained in:
rMalie
2011-09-19 13:30:11 +00:00
parent 8cac571902
commit 4278805de7
+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;