Upload via GUI (452 Dateien)
This commit is contained in:
@@ -22,7 +22,7 @@ $action = $body['action'] ?? '';
|
||||
|
||||
try {
|
||||
if ($action === 'save') {
|
||||
$id = queue_create($pdo, (int) $staff['id'], (string) ($body['name'] ?? ''), (array) ($body['filters'] ?? []), !empty($body['isShared']));
|
||||
$id = queue_create($pdo, (int) $staff['id'], (string) ($body['name'] ?? ''), (array) ($body['filters'] ?? []), !empty($body['isShared']) && has_permission($staff, 'share_views'));
|
||||
api_json(['id' => $id]);
|
||||
}
|
||||
if ($action === 'delete') {
|
||||
|
||||
Reference in New Issue
Block a user