From b9cb2f178910492b083d76a36cd173b8c3e7a181 Mon Sep 17 00:00:00 2001 From: Kenio de Souza Date: Tue, 29 Jul 2025 15:03:38 -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, 2 insertions(+), 2 deletions(-) diff --git a/vendor/model/Companies.class.php b/vendor/model/Companies.class.php index d8487d5..74cc44f 100644 --- a/vendor/model/Companies.class.php +++ b/vendor/model/Companies.class.php @@ -166,7 +166,7 @@ class Companies if($this->typeSearch && $this->search){ /** Preencho os parĂ¢metros do SQL */ - $this->stmt->bindParam(':search', $this->search); + $this->stmt->bindParam(':search', '"'.$this->search.'"'); } @@ -224,7 +224,7 @@ class Companies if($this->typeSearch && $this->search){ /** Preencho os parĂ¢metros do SQL */ - $this->stmt->bindParam(':search', $this->search); + $this->stmt->bindParam(':search', '"'.$this->search.'"'); }