Update event_guard_logs.php

This commit is contained in:
FusionPBX 2022-07-28 09:34:16 -06:00 committed by GitHub
parent 02522b11f3
commit 7897bd16aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -53,19 +53,19 @@
switch ($action) {
case 'copy':
if (permission_exists('event_guard_log_add')) {
$obj = new event_guard_logs;
$obj = new event_guard;
$obj->copy($event_guard_logs);
}
break;
case 'toggle':
if (permission_exists('event_guard_log_edit')) {
$obj = new event_guard_logs;
$obj = new event_guard;
$obj->toggle($event_guard_logs);
}
break;
case 'delete':
if (permission_exists('event_guard_log_delete')) {
$obj = new event_guard_logs;
$obj = new event_guard;
$obj->delete($event_guard_logs);
}
break;