Fix: remove bad fixe
This commit is contained in:
parent
48efabc8a4
commit
fbb275ee25
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2010 Regis Houssin <regis@dolibarr.fr>
|
/* Copyright (C) 2010-2012 Regis Houssin <regis@dolibarr.fr>
|
||||||
* Copyright (C) 2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2011-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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
|
* 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");
|
$res=dol_include_once($dirroot.$module.".php");
|
||||||
if ($res) break;
|
if ($res) break;
|
||||||
}
|
}
|
||||||
$modCodeClient = new $module($db);
|
$modCodeClient = new $module;
|
||||||
$this->tpl['auto_customercode'] = $modCodeClient->code_auto;
|
$this->tpl['auto_customercode'] = $modCodeClient->code_auto;
|
||||||
// We verified if the tag prefix is used
|
// We verified if the tag prefix is used
|
||||||
if ($modCodeClient->code_auto) $this->tpl['prefix_customercode'] = $modCodeClient->verif_prefixIsUsed();
|
if ($modCodeClient->code_auto) $this->tpl['prefix_customercode'] = $modCodeClient->verif_prefixIsUsed();
|
||||||
|
|||||||
@ -1013,7 +1013,7 @@ else
|
|||||||
$res=dol_include_once($dirroot.$module.".php");
|
$res=dol_include_once($dirroot.$module.".php");
|
||||||
if ($res) break;
|
if ($res) break;
|
||||||
}
|
}
|
||||||
$modCodeClient = new $module($db);
|
$modCodeClient = new $module;
|
||||||
// We verified if the tag prefix is used
|
// We verified if the tag prefix is used
|
||||||
if ($modCodeClient->code_auto)
|
if ($modCodeClient->code_auto)
|
||||||
{
|
{
|
||||||
@ -1031,7 +1031,7 @@ else
|
|||||||
$res=dol_include_once($dirroot.$module.".php");
|
$res=dol_include_once($dirroot.$module.".php");
|
||||||
if ($res) break;
|
if ($res) break;
|
||||||
}
|
}
|
||||||
$modCodeFournisseur = new $module($db);
|
$modCodeFournisseur = new $module;
|
||||||
// On verifie si la balise prefix est utilisee
|
// On verifie si la balise prefix est utilisee
|
||||||
if ($modCodeFournisseur->code_auto)
|
if ($modCodeFournisseur->code_auto)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user