From 39afca958e1c610955a3e6e49762ad481d2c8e31 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 22 Mar 2010 16:58:14 +0000 Subject: [PATCH] Fix: uniformize code --- htdocs/product/liste.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/htdocs/product/liste.php b/htdocs/product/liste.php index 9c5d7e0222e..cf9bb5b68e8 100644 --- a/htdocs/product/liste.php +++ b/htdocs/product/liste.php @@ -100,9 +100,17 @@ else if (isset($_GET["type"]) || isset($_POST["type"])) { - if ($type==1) { $texte = $langs->trans("Services"); } - else { $texte = $langs->trans("Products"); } - } else { + if ($type==1) + { + $texte = $langs->trans("Services"); + } + else + { + $texte = $langs->trans("Products"); + } + } + else + { $texte = $langs->trans("ProductsAndServices"); } }