Missing file from the last commit

Missed a file from the package
pull/63/head
Andras Iklody 2013-02-05 09:21:29 +01:00
parent 7f6f166838
commit 6ef3ea7050
1 changed files with 1 additions and 0 deletions

View File

@ -234,6 +234,7 @@ class UsersController extends AppController {
//debug($fields);debug(tru);
$this->set('currentOrg', $this->Auth->User('org'));
$this->User->id = $id;
$this->set('currentId', $id);
if (!$this->User->exists()) {
throw new NotFoundException(__('Invalid user'));
}