Revize c1bdc1c4
Přidáno uživatelem Michal Kliment před více než 9 roky(ů)
application/controllers/allowed_subnets_counts.php | ||
---|---|---|
Controller::error(RECORD);
|
||
|
||
// access control
|
||
if (!$this->acl_check_edit('Devices_Controller', 'allowed_subnet', $member_id))
|
||
if (!$this->acl_check_edit('Allowed_subnets_Controller', 'allowed_subnet', $member_id))
|
||
Controller::error(ACCESS);
|
||
|
||
$form = new Forge(url::base(TRUE) . url::current(TRUE));
|
||
... | ... | |
{
|
||
$member->transaction_rollback();
|
||
Log::add_exception($e);
|
||
status::error('Error - Cannot update count of allowed subnets');
|
||
status::error('Error - Cannot update count of allowed subnets', $e);
|
||
}
|
||
|
||
$this->redirect('allowed_subnets/show_by_member/' . $member_id);
|
Také k dispozici: Unified diff
Release 1.1.0