Fix member doc gen (#35751)
Co-authored-by: Lucas Marcouiller <lmarcouiller@dolicloud.com>
This commit is contained in:
parent
cb3d3c09c4
commit
96f119ffd9
1 changed files with 1 additions and 1 deletions
|
|
@ -1979,7 +1979,7 @@ function getListOfModels($db, $type, $maxfilenamelength = 0)
|
|||
$liste[0] = $obj->label.': '.$langs->trans("None");
|
||||
}
|
||||
} else {
|
||||
if ($type == 'member' && $obj->doc_template_name == 'standard') { // Special case, if member template, we add variant per format
|
||||
if ($type == 'member' && $obj->doc_template_name == 'standard_member') { // Special case, if member template, we add variant per format
|
||||
global $_Avery_Labels;
|
||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/format_cards.lib.php';
|
||||
foreach ($_Avery_Labels as $key => $val) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue