diff --git a/src/app/backend/controllers/CustomersController.php b/src/app/backend/controllers/CustomersController.php index 2c54704..0884bff 100644 --- a/src/app/backend/controllers/CustomersController.php +++ b/src/app/backend/controllers/CustomersController.php @@ -18,7 +18,7 @@ class CustomersController extends \Phalcon\Mvc\Controller $search = $this->request->getPost('search', 'string', NULL); if (!empty($search)) { - $data = $this->models->getCustomers()->getDataByName($page); + $data = $this->models->getCustomers()->getDataByName($search); $total = 1; } else { -- libgit2 0.21.4