[*] переименованы методы
This commit is contained in:
1 parent
eb18e5e6c9
commit
b5db27307f
23 files changed
+41
-41
No files matched your search
+1
-1
@@ -8,7 +8,7 @@ require_once __DIR__ . '/inc/header.php';
|
||||
$userId = $USER['id'];
|
||||
|
||||
|
||||
if (isset($_REQUEST['id']) and !empty($_REQUEST['id']) and CUser::is_admin()) {
|
||||
if (isset($_REQUEST['id']) and !empty($_REQUEST['id']) and CUser::isAdmin()) {
|
||||
$userId = $_REQUEST['id'];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user