diff --git a/htdocs/core/class/html.formcompany.class.php b/htdocs/core/class/html.formcompany.class.php
index 7c32c31f696..1634998d023 100644
--- a/htdocs/core/class/html.formcompany.class.php
+++ b/htdocs/core/class/html.formcompany.class.php
@@ -794,11 +794,11 @@ class FormCompany
{
$valors=explode(":", $tax);
- if(sizeof($valors)>1)
+ if(count($valors)>1)
{
//montar select
print '