Fixed mistake with update in os list

This commit is contained in:
Jose Gonzalez 2020-09-16 14:47:33 +02:00
parent 58f521e8b5
commit 9ac9a75658
1 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@
global $config;
check_login();
hd($_REQUEST);
if (! check_acl($config['id_user'], 0, 'PM') && ! is_user_admin($config['id_user'])) {
db_pandora_audit('ACL Violation', 'Trying to access Setup Management');
include 'general/noaccess.php';
@ -91,8 +91,8 @@ switch ($action) {
break;
case 'update':
$name = get_parameter('name', '');
$description = get_parameter('description', '');
$name = io_safe_input(strip_tags(io_safe_output((string) get_parameter('name'))));
$description = io_safe_input(strip_tags(io_safe_output((string) get_parameter('description'))));
$icon = get_parameter('icon', 0);
$values = [];