From 41aaf65b08b37c43b02684ed6828ac55251ce26e Mon Sep 17 00:00:00 2001 From: Kenio de Souza Date: Wed, 6 Aug 2025 09:17:30 -0300 Subject: [PATCH] Debug --- 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 6a050f4..bad9aa7 100644 --- a/vendor/model/Documents.class.php +++ b/vendor/model/Documents.class.php @@ -149,7 +149,7 @@ class Documents d.active, d.tag, dc.description as categorys, - c.name_fantasy as company_name, + c.name_fantasy as company_name from documents d left join companies c on d.company_id = c.company_id left join documents_categorys dc on d.documents_categorys_id = dc.documents_categorys_id @@ -158,7 +158,7 @@ class Documents $this->sql .= $this->and; $this->sql .= ' order by d.documents_id desc '; - echo $this->sql .= $this->limit; + $this->sql .= $this->limit; /** Preparo o SQL para execução */ $this->stmt = $this->connection->connect()->prepare($this->sql);