From 686230c015aa8716be878b6c9f5f8cbf2efcc52d Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Mon, 9 Aug 2010 17:22:03 +0000
Subject: [PATCH] Restore broken feature

---
 htdocs/core/tpl/addfreeproductform.tpl.php | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/htdocs/core/tpl/addfreeproductform.tpl.php b/htdocs/core/tpl/addfreeproductform.tpl.php
index 03500d8ce9d..6bf76c1f932 100644
--- a/htdocs/core/tpl/addfreeproductform.tpl.php
+++ b/htdocs/core/tpl/addfreeproductform.tpl.php
@@ -64,10 +64,8 @@ if ($conf->global->PRODUIT_USE_MARKUP) $colspan = 'colspan="2"';
 
 	<td align="right">
 	<?php
-	if ($soc->tva_assuj == "0")
-	echo '<input type="hidden" name="np_tva_tx" value="0">0';
-	else
-	$html->select_tva('np_tva_tx', $conf->defaulttx, $mysoc, $soc);
+	if ($soc->tva_assuj == "0") echo '<input type="hidden" name="np_tva_tx" value="0">0';
+	else $html->select_tva('np_tva_tx', $conf->defaulttx, $mysoc, $soc);
 	?>
 	</td>
 	<td align="right"><input type="text" size="5" name="np_price"></td>
-- 
GitLab