From 65c47d136875a199abfecd60a3d9a00a1ca2567d Mon Sep 17 00:00:00 2001 From: Kenio de Souza Date: Mon, 25 Aug 2025 10:55:14 -0300 Subject: [PATCH] Atualizando Documents.class.php --- vendor/model/Documents.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }