Merge pull request #18825 from grandoc/new_branch_25_09_2021

fix : warning: Undefined property: stdClass:: in C:\wamp64\www\doliba…
This commit is contained in:
Laurent Destailleur
2021-09-28 12:56:43 +02:00
committed by GitHub
6 changed files with 9 additions and 6 deletions

View File

@@ -59,7 +59,10 @@ if (empty($font_loc)) {
if (defined('PHP-BARCODE_PATH_COMMAND')) {
$genbarcode_loc = constant('PHP-BARCODE_PATH_COMMAND');
} else {
$genbarcode_loc = $conf->global->GENBARCODE_LOCATION;
$genbarcode_loc = '';
if (!empty($conf->global->GENBARCODE_LOCATION)) {
$genbarcode_loc = $conf->global->GENBARCODE_LOCATION;
}
}