move include_once to include when it's a tpl

This commit is contained in:
Alexandre SPANGARO
2021-04-12 21:25:58 +02:00
parent 80995c34b5
commit 4b9bf40a8f
36 changed files with 36 additions and 36 deletions

View File

@@ -181,7 +181,7 @@ if ($id > 0 || !empty($ref))
$permission = $user->rights->commande->creer;
$permtoedit = $user->rights->commande->creer;
$param = '&id='.$object->id.'&entity='.(!empty($object->entity) ? $object->entity : $conf->entity);
include_once DOL_DOCUMENT_ROOT.'/core/tpl/document_actions_post_headers.tpl.php';
include DOL_DOCUMENT_ROOT.'/core/tpl/document_actions_post_headers.tpl.php';
} else {
dol_print_error($db);
}