diff --git a/htdocs/core/modules/barcode/doc/phpbarcode.modules.php b/htdocs/core/modules/barcode/doc/phpbarcode.modules.php index b066f2a460c..56e846a0516 100644 --- a/htdocs/core/modules/barcode/doc/phpbarcode.modules.php +++ b/htdocs/core/modules/barcode/doc/phpbarcode.modules.php @@ -1,7 +1,7 @@ * Copyright (C) 2005 Regis Houssin - * Copyright (C) 2024 MDW + * Copyright (C) 2024-2025 MDW * * 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 @@ -159,6 +159,7 @@ class modPhpbarcode extends ModeleBarCode $filebarcode = ''; } + $result = "No barcode ($code) to print"; dol_syslog(get_class($this)."::buildBarCode $code,$encoding,$scale,$mode,$filebarcode"); if ($code) { $result = barcode_print($code, $encoding, $scale, $mode, $filebarcode);