summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Controller/UserListController.php2
-rw-r--r--app/Core/Paginator.php2
2 files changed, 2 insertions, 2 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
diff --git a/app/Core/Paginator.php b/app/Core/Paginator.php
index e724ccd4..7b0a9c1b 100644
--- a/app/Core/Paginator.php
+++ b/app/Core/Paginator.php
@@ -342,7 +342,7 @@ class Paginator
}
/**
- * Calculate the offset value accoring to url params and the page number
+ * Calculate the offset value according to url params and the page number
*
* @access public
* @return $this