on passe la chaine de langue pour les pdfs

This commit is contained in:
Christophe 2022-09-29 21:43:43 +02:00
parent fc57a7c1ef
commit 76cdd828f0

View file

@ -28,7 +28,10 @@ function action_pdf_gamutable_dist() {
}
if (find_in_path('gamutable_pdf/' . $fichierpdf . '.html')) {
$set = ['arg' => $arg];
$set = [
'arg' => $arg,
'lang' => $GLOBALS['meta']['langue_site'] ?? 'fr'
];
if (!empty($Tcles)) {
$set = array_merge($set, ['Tids' => $Tcles]);
}