on passe la chaine de langue pour les pdfs
This commit is contained in:
parent
fc57a7c1ef
commit
76cdd828f0
1 changed files with 4 additions and 1 deletions
|
@ -28,7 +28,10 @@ function action_pdf_gamutable_dist() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (find_in_path('gamutable_pdf/' . $fichierpdf . '.html')) {
|
if (find_in_path('gamutable_pdf/' . $fichierpdf . '.html')) {
|
||||||
$set = ['arg' => $arg];
|
$set = [
|
||||||
|
'arg' => $arg,
|
||||||
|
'lang' => $GLOBALS['meta']['langue_site'] ?? 'fr'
|
||||||
|
];
|
||||||
if (!empty($Tcles)) {
|
if (!empty($Tcles)) {
|
||||||
$set = array_merge($set, ['Tids' => $Tcles]);
|
$set = array_merge($set, ['Tids' => $Tcles]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue