diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 52933d97d7b..15646307c91 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -3098,14 +3098,12 @@ class Form // Disabled if customer is not subject to VAT $disabled=false; - $title=''; if (is_object($societe_acheteuse) && ! empty($societe_acheteuse->id) - && $societe_acheteuse->tva_assuj == "0") { - $title=' title="'.$langs->trans('VATIsNotUsed').'"'; + && $societe_acheteuse->tva_assuj == "0") { $disabled=true; } - if (! $options_only) $return.= ''; foreach ($this->cache_vatrates as $rate) {