NEW #21397 : small fix
This commit is contained in:
parent
811b11cab2
commit
3f7fe8d688
@ -321,7 +321,8 @@ print load_fiche_titre($langs->trans("BarcodeEncodeModule"), '', '');
|
|||||||
|
|
||||||
if (empty($conf->use_javascript_ajax)) {
|
if (empty($conf->use_javascript_ajax)) {
|
||||||
print '<form action="'.$_SERVER["PHP_SELF"].'" method="POST" id="form_engine">';
|
print '<form action="'.$_SERVER["PHP_SELF"].'" method="POST" id="form_engine">';
|
||||||
print '<input type="hidden" name="token" value="'.newToken().'">';if ($module->encodingIsSupported($obj->encoding)) {
|
print '<input type="hidden" name="token" value="'.newToken().'">';
|
||||||
|
if ($module->encodingIsSupported($obj->encoding)) {
|
||||||
// Build barcode on disk (not used, this is done to make debug easier)
|
// Build barcode on disk (not used, this is done to make debug easier)
|
||||||
$result = $module->writeBarCode($obj->example, $obj->encoding, 'Y');
|
$result = $module->writeBarCode($obj->example, $obj->encoding, 'Y');
|
||||||
// Generate on the fly and output barcode with generator
|
// Generate on the fly and output barcode with generator
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user