Fuck PHP
This commit is contained in:
parent
b29bcaf3c8
commit
70c166b4a3
|
|
@ -16,7 +16,7 @@ class DocumentsController extends AppController {
|
|||
function index() {
|
||||
$this->Document->recursive = 0;
|
||||
//$this->set('documents', $this->paginate());
|
||||
$this->set('documents', $this->query("select id,type,created,user_id,pdf_filename,pdf_created_at, pdf_created_by_user_id FROM documents As Document;");
|
||||
$this->set('documents', $this->query("select id,type,created,user_id,pdf_filename,pdf_created_at, pdf_created_by_user_id FROM documents As Document;"));
|
||||
|
||||
$this->set('users', $this->Document->User->getUsersList());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue