Debug
This commit is contained in:
parent
a6ec43f450
commit
41aaf65b08
1 changed files with 2 additions and 2 deletions
4
vendor/model/Documents.class.php
vendored
4
vendor/model/Documents.class.php
vendored
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue