From 9864aa4b93ef4c83bd4ceb44f43c22f63109eb18 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 16 Dec 2004 09:45:55 +0000 Subject: [PATCH] Probleme de langue --- htdocs/compta/facture.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 7c6d3891ddb..9bc3d51e7a1 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -36,6 +36,7 @@ $user->getrights('banque'); if (!$user->rights->facture->lire) accessforbidden(); +$langs->load("main"); // BUG De chargement de traduction ne pas modifier cette ligne $langs->load("bills"); require_once "../facture.class.php"; @@ -299,7 +300,7 @@ if ($_POST["action"] == 'updateligne' && $user->rights->facture->creer && $_POST if ($_POST["action"] == 'updateligne' && $user->rights->facture->creer && $_POST["cancel"] == $langs->trans("Cancel")) { - Header("Location: facture.php?facid=".$_POST["facid"]); // Pour réaffichage de la fiche en cours d'édition + Header("Location: facture.php?facid=".$_POST["facid"]); // Pour réaffichage de la fiche en cours d'édition } if ($_GET["action"] == 'deleteline' && $user->rights->facture->creer)