diff --git a/vendor/model/Documents.class.php b/vendor/model/Documents.class.php index c1d23bf..2406e05 100644 --- a/vendor/model/Documents.class.php +++ b/vendor/model/Documents.class.php @@ -167,7 +167,7 @@ class Documents if($this->companyId > 0){ /** Preencho os parĂ¢metros do SQL */ - $this->stmt->bindParam('documents_id', $this->documentsId); + $this->stmt->bindParam(':company_id', $this->companyId); } @@ -215,7 +215,7 @@ class Documents if($this->companyId > 0){ /** Preencho os parĂ¢metros do SQL */ - $this->stmt->bindParam('documents_id', $this->documentsId); + $this->stmt->bindParam(':company_id', $this->companyId); }