* save session when browse users.

This commit is contained in:
zhujinyong
2013-02-19 02:20:41 +00:00
parent 9c85150e93
commit 8bdb5ecd01

View File

@@ -50,6 +50,10 @@ class company extends control
$deptID = $type == 'bydept' ? (int)$param : 0;
$this->company->setMenu($deptID);
/* Save session. */
$this->session->set('usersParam', $param);
$this->session->set('usersType', $type);
/* Set the pager. */
$this->app->loadClass('pager', $static = true);
$pager = pager::init($recTotal, $recPerPage, $pageID);