diff --git a/action/pdf_gamutable.php b/action/pdf_gamutable.php index 3233d95..2a91027 100644 --- a/action/pdf_gamutable.php +++ b/action/pdf_gamutable.php @@ -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]); }