diff --git a/include/util/util.php b/include/util/util.php index 1bb56add..806012e6 100644 --- a/include/util/util.php +++ b/include/util/util.php @@ -145,7 +145,7 @@ function contains_phone_number($string) { function is_date($date) { - if (strlen($date) < 10) + if (strlen($date) != 10) return(False); else { // Check if the date is valid diff --git a/relatorios/pbx/chamadasSaintes/saintesCentroCusto.php b/relatorios/pbx/chamadasSaintes/saintesCentroCusto.php index bbfc3d02..781355ff 100644 --- a/relatorios/pbx/chamadasSaintes/saintesCentroCusto.php +++ b/relatorios/pbx/chamadasSaintes/saintesCentroCusto.php @@ -1,5 +1,4 @@