From fbb275ee257f5c2e1d59d0d71b0d939b3bd1c8a7 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 15 Aug 2012 09:15:26 +0200 Subject: [PATCH] Fix: remove bad fixe --- htdocs/societe/canvas/actions_card_common.class.php | 6 +++--- htdocs/societe/soc.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/societe/canvas/actions_card_common.class.php b/htdocs/societe/canvas/actions_card_common.class.php index 73fc92d5878..72eadfa4d18 100644 --- a/htdocs/societe/canvas/actions_card_common.class.php +++ b/htdocs/societe/canvas/actions_card_common.class.php @@ -1,6 +1,6 @@ - * Copyright (C) 2011 Laurent Destailleur +/* Copyright (C) 2010-2012 Regis Houssin + * Copyright (C) 2011-2012 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -436,7 +436,7 @@ abstract class ActionsCardCommon $res=dol_include_once($dirroot.$module.".php"); if ($res) break; } - $modCodeClient = new $module($db); + $modCodeClient = new $module; $this->tpl['auto_customercode'] = $modCodeClient->code_auto; // We verified if the tag prefix is used if ($modCodeClient->code_auto) $this->tpl['prefix_customercode'] = $modCodeClient->verif_prefixIsUsed(); diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php index 07b9a7954be..dcc9373da14 100644 --- a/htdocs/societe/soc.php +++ b/htdocs/societe/soc.php @@ -1013,7 +1013,7 @@ else $res=dol_include_once($dirroot.$module.".php"); if ($res) break; } - $modCodeClient = new $module($db); + $modCodeClient = new $module; // We verified if the tag prefix is used if ($modCodeClient->code_auto) { @@ -1031,7 +1031,7 @@ else $res=dol_include_once($dirroot.$module.".php"); if ($res) break; } - $modCodeFournisseur = new $module($db); + $modCodeFournisseur = new $module; // On verifie si la balise prefix est utilisee if ($modCodeFournisseur->code_auto) {