accounting fixes + restrict it to admin user only

This commit is contained in:
SJ
2013-03-12 10:26:21 +01:00
parent 7a096bceb7
commit 625087b082
4 changed files with 47 additions and 11 deletions

View File

@ -28,6 +28,10 @@ class ControllerAuditHelper extends Controller {
$this->load->model('audit/audit');
if(Registry::get('admin_user') == 0) {
die("go away");
}
$this->data['page'] = 0;
if(isset($this->request->post['page'])) { $this->data['page'] = $this->request->post['page']; }