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.'"'); }