From 540c44453b7572426d6a4685e585c2bf074e7a3a Mon Sep 17 00:00:00 2001 From: Kenio de Souza Date: Tue, 29 Jul 2025 14:52:08 -0300 Subject: [PATCH] =?UTF-8?q?Atualiza=C3=A7=C3=A3o=20Companies.class.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vendor/model/Companies.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vendor/model/Companies.class.php b/vendor/model/Companies.class.php index aca162b..b76324b 100644 --- a/vendor/model/Companies.class.php +++ b/vendor/model/Companies.class.php @@ -186,7 +186,7 @@ class Companies /** Consulta SQL */ $this->sql = 'select count(c.company_id) as qtde - from companies c'; + from companies c '; /** Verifica se há pesquisa */ if($this->typeSearch && $this->search){ @@ -213,8 +213,6 @@ class Companies $this->sql .= 'where (select count(s.state_id) from states s where uf = :search and s.state_id = c.state_id) > 0'; } } - - echo $this->sql; /** Preparo o SQL para execução */ $this->stmt = $this->connection->connect()->prepare($this->sql);