From 4ca5bc3797c0b6fa2ad10f5ccfdd456bab8eda4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Thu, 5 Sep 2013 16:43:50 +0200 Subject: [PATCH] Method should be static --- htdocs/core/modules/export/modules_export.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/export/modules_export.php b/htdocs/core/modules/export/modules_export.php index b42f2a2dfa7..29ef73c03c5 100644 --- a/htdocs/core/modules/export/modules_export.php +++ b/htdocs/core/modules/export/modules_export.php @@ -46,7 +46,7 @@ class ModeleExports extends CommonDocGenerator // This class can't be abstrac * @param string $maxfilenamelength Max length of value to show * @return array List of templates */ - function liste_modeles($db,$maxfilenamelength=0) + static function liste_modeles($db,$maxfilenamelength=0) { dol_syslog(get_class($this)."::liste_modeles");