incorrect argument passed to cache generation

pull/217/head
iglocska 2014-01-24 13:20:00 +01:00
parent 467408d9f7
commit feff355144
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class JobsController extends AppController {
$target = 'Events visible to: '.$this->Auth->user('org');
$jobOrg = $this->Auth->user('org');
}
$id = $this->Job->cache($type, $this->_isSiteAdmin(), $this->Auth->user('org'), $target, $jobOrg, $this->Auth->user('sid'));
$id = $this->Job->cache($type, $this->_isSiteAdmin(), $this->Auth->user('org'), $target, $jobOrg, $this->Auth->user('nids_sid'));
return new CakeResponse(array('body' => json_encode($id)));
}
}