mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed mistake with update in os list
This commit is contained in:
parent
58f521e8b5
commit
9ac9a75658
@ -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 = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user