From 3cff899b44d636eab5a3502918c223858b7344d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a?= Date: Sat, 8 Jun 2013 20:01:51 +0200 Subject: [PATCH] Removed debug message and wrong translation key --- htdocs/compta/facture/stats/index.php | 6 +++--- htdocs/product/composition/fiche.php | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/htdocs/compta/facture/stats/index.php b/htdocs/compta/facture/stats/index.php index 4abff5b63be..895cadbf2d9 100644 --- a/htdocs/compta/facture/stats/index.php +++ b/htdocs/compta/facture/stats/index.php @@ -54,8 +54,8 @@ $endyear=$year; * View */ -$langs->load("bills"); -$langs->load("companies"); +$langs->load("bills"); +$langs->load("companies"); $form=new Form($db); @@ -233,7 +233,7 @@ print '
'; print $form->select_company($socid,'socid',$filter,1); print ''; // User - print ''.$langs->trans("CreatedBy").''; + print ''.$langs->trans("Author").''; print $form->select_users($userid,'userid',1); print ''; // Year diff --git a/htdocs/product/composition/fiche.php b/htdocs/product/composition/fiche.php index 71ce35c76e1..644c321b8bb 100644 --- a/htdocs/product/composition/fiche.php +++ b/htdocs/product/composition/fiche.php @@ -72,7 +72,6 @@ $cancel <> $langs->trans("Cancel") && $error=0; for($i=0;$i<$_POST["max_prod"];$i++) { - print "
: ".$_POST["prod_id_chk".$i]; if ($_POST["prod_id_chk".$i] > 0) { if($product->add_sousproduit($id, $_POST["prod_id_".$i],$_POST["prod_qty_".$i]) > 0)