diff --git a/htdocs/compta/paiement/rapport.php b/htdocs/compta/paiement/rapport.php index b3a8939482f..9c8febe9e1a 100644 --- a/htdocs/compta/paiement/rapport.php +++ b/htdocs/compta/paiement/rapport.php @@ -55,7 +55,7 @@ if ($action == 'builddoc') $rap = new pdf_paiement($db); $outputlangs = $langs; - if (! empty(GETPOST('lang_id'))) + if (GETPOST('lang_id')) { $outputlangs = new Translate("",$conf); $outputlangs->setDefaultLang(GETPOST('lang_id'));