From 24b2b83b858e93e7ed1ac18767c2c6bbb60eda49 Mon Sep 17 00:00:00 2001 From: Juanjo Menent Date: Thu, 3 Jul 2014 18:55:03 +0200 Subject: [PATCH] use count() instead sizeof() --- htdocs/core/class/html.formcompany.class.php | 4 ++-- htdocs/core/lib/functions.lib.php | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) 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 '