Skip to content

Commit

Permalink
fix: as 'concatenables' PDF are per entity the CONCATPDF_PRESELECTED_…
Browse files Browse the repository at this point in the history
…MODELS have to be by entity not on entity=0
  • Loading branch information
FHenry committed Dec 4, 2024
1 parent 969f633 commit 4adae2f
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 4adae2f

Please sign in to comment.