@@ -2,6 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | // File generated to link to the master file - DO NOT MODIFY - It is just an include |
| 4 | 4 | if (! defined('USEDOLIBARRSERVER') && ! defined('USEDOLIBARREDITOR')) { |
| 5 | - if (! defined('USEEXTERNALSERVER')) define('USEEXTERNALSERVER', 1); |
|
| 5 | + if (! defined('USEEXTERNALSERVER')) { |
|
| 6 | + define('USEEXTERNALSERVER', 1); |
|
| 7 | + } |
|
| 6 | 8 | require_once '/home/ldestailleur/git/dolibarr_dev/htdocs/master.inc.php'; |
| 7 | 9 | } |
@@ -340,10 +340,16 @@ |
||
| 340 | 340 | } |
| 341 | 341 | } |
| 342 | 342 | |
| 343 | - if (empty($idorcode)) $idorcode = 'all'; |
|
| 343 | + if (empty($idorcode)) { |
|
| 344 | + $idorcode = 'all'; |
|
| 345 | + } |
|
| 344 | 346 | $TType = $TSystem[$idorcode]; |
| 345 | - if (! empty($TSystemAuto[$idorcode])) $TType = array_merge($TSystem[$idorcode], $TSystemAuto[$idorcode]); |
|
| 346 | - if (! empty($TModule[$idorcode])) $TType = array_merge($TSystem[$idorcode], $TModule[$idorcode]); |
|
| 347 | + if (! empty($TSystemAuto[$idorcode])) { |
|
| 348 | + $TType = array_merge($TSystem[$idorcode], $TSystemAuto[$idorcode]); |
|
| 349 | + } |
|
| 350 | + if (! empty($TModule[$idorcode])) { |
|
| 351 | + $TType = array_merge($TSystem[$idorcode], $TModule[$idorcode]); |
|
| 352 | + } |
|
| 347 | 353 | $this->liste_array = $TType; |
| 348 | 354 | |
| 349 | 355 | |