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

View File

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