Skip to content

Commit

Permalink
Merge pull request #75 from FHenry/fix_concat_pdf_preselect_by_entity
Browse files Browse the repository at this point in the history
fix: as 'concatenables' PDF are per entity the CONCATPDF_PRESELECTED_MODELS have to be by entity not on entity=0
  • Loading branch information
eldy authored Dec 5, 2024
2 parents 969f633 + 4adae2f commit 16ef1b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/concatpdf/admin/concatpdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
}

if ($action == 'save') {
dolibarr_set_const($db, 'CONCATPDF_PRESELECTED_MODELS', GETPOST('CONCATPDF_PRESELECTED_MODELS'), 'chaine', 0, '', 0);
dolibarr_set_const($db, 'CONCATPDF_PRESELECTED_MODELS', GETPOST('CONCATPDF_PRESELECTED_MODELS'), 'chaine', 0, '', $conf->entity);
}

/*
Expand Down

0 comments on commit 16ef1b1

Please sign in to comment.