Fix: Change of numbering module was not effective
This commit is contained in:
parent
1a71f873e6
commit
c5a4893b7c
@ -12,6 +12,7 @@ For users:
|
||||
- New: VAT number is stored in one field. This is more "international".
|
||||
- Fix: bug #28055 : Unable to modify the date of a cloned command
|
||||
- Fix: bug #27891
|
||||
- Fix: Change of numbering module was not effective
|
||||
|
||||
|
||||
***** ChangeLog for 2.7 compared to 2.6 *****
|
||||
|
||||
@ -2169,10 +2169,10 @@ class Facture extends CommonObject
|
||||
global $conf, $db, $langs;
|
||||
$langs->load("bills");
|
||||
|
||||
if (defined("FACTURE_ADDON") && FACTURE_ADDON)
|
||||
if (! empty($conf->global->FACTURE_ADDON))
|
||||
{
|
||||
$file = FACTURE_ADDON."/".FACTURE_ADDON.".modules.php";
|
||||
$classname = "mod_facture_".FACTURE_ADDON;
|
||||
$file = $conf->global->FACTURE_ADDON."/".$conf->global->FACTURE_ADDON.".modules.php";
|
||||
$classname = "mod_facture_".$conf->global->FACTURE_ADDON;
|
||||
|
||||
// Include file with class
|
||||
$mybool=false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user