[*] переименованы методы

This commit is contained in:
rsgrinko committed 2021-12-10 23:16:15 +03:00
1 parent eb18e5e6c9
commit b5db27307f
23 files changed
+41 -41

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
header("Location: index.php?"); die();
}
$deviceId = prepareString($_REQUEST['id']);
if(!isHaveAccessToDevice($deviceId, $USER['id']) and !CUser::is_admin()) {
if(!isHaveAccessToDevice($deviceId, $USER['id']) and !CUser::isAdmin()) {
die('403 - Access denied');
}