summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-11-16 13:54:44 -0800
committerFrederic Guillot <fred@kanboard.net>2017-11-16 13:54:44 -0800
commitbea52c7578060f1cc0ee39f177a29188e78b144d (patch)
treebcf3ea2a73a797262dccae0e7933344a296d969f /app/Controller
parent6f55acf1a6eb58c7eeed3233e70782d031814201 (diff)
Fix PHP notice in PR #3557
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/UserListController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/UserListController.php b/app/Controller/UserListController.php
index 580c853c..144c4662 100644
--- a/app/Controller/UserListController.php
+++ b/app/Controller/UserListController.php
@@ -24,6 +24,7 @@ class UserListController extends BaseController
$this->response->html($this->helper->layout->app('user_list/listing', array(
'title' => t('Users').' ('.$paginator->getTotal().')',
'paginator' => $paginator,
+ 'values' => array(),
)));
}
@@ -38,7 +39,6 @@ class UserListController extends BaseController
$paginator = $this->userPagination->getListingPaginator();
if ($search !== '' && ! $paginator->isEmpty()) {
-
$paginator = $paginator
->setUrl('UserListController', 'search', array('search' => $search))
->setQuery($this->userQuery