diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 8ba38b81edb..8fc2522e80a 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -18,7 +18,8 @@ * Copyright (C) 2014 Alexandre Spangaro * Copyright (C) 2018 Ferran Marcet * Copyright (C) 2018 Frédéric France - * Copyright (C) 2018 Nicolas ZABOURI + * Copyright (C) 2018 Nicolas ZABOURI + * Copyright (C) 2018 Josep Lluis Amador * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -993,7 +994,7 @@ class Form $this->load_cache_types_fees(); - print ''; if ($showempty) { print ''; $num = $this->db->num_rows($resql); $i = 0; @@ -3119,7 +3120,7 @@ class Form $this->loadCacheInputReason(); - print ''; if ($addempty) print ''; foreach($this->cache_demand_reason as $id => $arraydemandreason) { @@ -3316,7 +3317,7 @@ class Form $return=''; - $return.= ''; $options = array( 'HT'=>$langs->trans("HT"), 'TTC'=>$langs->trans("TTC") @@ -5398,7 +5399,7 @@ class Form if ($typehour=='select' ) { - $retstring.=''; for ($hour = 0; $hour < 25; $hour++) // For a duration, we allow 24 hours { $retstring.='