mirror of https://github.com/MISP/MISP
fix: Fixed an invalid user call in the paginator
parent
61450f3d2f
commit
2f02097590
|
@ -63,7 +63,7 @@ class EventsController extends AppController {
|
|||
|
||||
// if not admin or own org, check private as well..
|
||||
if (!$this->_isSiteAdmin() && in_array($this->action, $this->paginationFunctions)) {
|
||||
$sgids = $this->Event->cacheSgids($user, true);
|
||||
$sgids = $this->Event->cacheSgids($this->Auth->user(), true);
|
||||
$conditions = array(
|
||||
'AND' => array(
|
||||
array(
|
||||
|
|
Loading…
Reference in New Issue