From 031c4502936a7e37875697817faf4656852cd053 Mon Sep 17 00:00:00 2001 From: rMalie Date: Mon, 19 Sep 2011 13:30:11 +0000 Subject: [PATCH] // 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 --- classes/Gender.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Gender.php b/classes/Gender.php index 07bd4fb6a..215d46b63 100644 --- a/classes/Gender.php +++ b/classes/Gender.php @@ -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;