From bea52c7578060f1cc0ee39f177a29188e78b144d Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Thu, 16 Nov 2017 13:54:44 -0800 Subject: Fix PHP notice in PR #3557 --- app/Controller/UserListController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller/UserListController.php') 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 -- cgit v1.2.3