mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
Merge pull request #2374 from int2001/radio_delete_fix
Delete HW-Radio worked only for admins. Fixed that
This commit is contained in:
commit
e154037e2c
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@
|
|||
function delete($id) {
|
||||
// Check Auth
|
||||
$this->load->model('user_model');
|
||||
if(!$this->user_model->authorize(99)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); }
|
||||
if(!$this->user_model->authorize(3)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); }
|
||||
|
||||
$this->load->model('cat');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue