Fix: avoid php strict mode warning

This commit is contained in:
Regis Houssin
2012-03-23 18:19:50 +01:00
parent 3c794967c3
commit ffc6812241
41 changed files with 63 additions and 49 deletions

View File

@@ -48,7 +48,7 @@ abstract class ModelePDFCommandes extends CommonDocGenerator
* @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)
{
global $conf;