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);