Commit e56e710d7ce7cd7505ebdaec0a9d35b9ed66a69c

Authored by Alex Savenko
1 parent 7a04d7d3

submit button check

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
src/app/backend/controllers/CustomersController.php
... ... @@ -38,6 +38,10 @@ class CustomersController extends \Phalcon\Mvc\Controller
38 38 $data = $this->models->getCustomers()->getAllData($page);
39 39 $total = $this->models->getCustomers()->countData();
40 40 }
  41 + else {
  42 + $data = $this->models->getCustomers()->getAllData($page);
  43 + $total = $this->models->getCustomers()->countData();
  44 + }
41 45  
42 46 if( $total['0']['total'] > \config::get( 'limits/items') )
43 47 {
... ...