From 07d04b79055ec84f3b6db4ed75b095d1a6b92938 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 14 Oct 2013 16:12:07 +0200 Subject: [PATCH] Fix: syntax error --- htdocs/compta/paiement/rapport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'));