mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-07 00:14:40 +03:00
Fix possible use of undefined variable
This commit is contained in:
parent
e78a250c82
commit
fbaefff37d
@ -24,6 +24,8 @@ $operator = check_login();
|
|||||||
csrfchecktoken();
|
csrfchecktoken();
|
||||||
check_permissions($operator, $can_administrate);
|
check_permissions($operator, $can_administrate);
|
||||||
|
|
||||||
|
$errors = array();
|
||||||
|
|
||||||
if (isset($_GET['act']) && $_GET['act'] == 'del') {
|
if (isset($_GET['act']) && $_GET['act'] == 'del') {
|
||||||
$operatorid = isset($_GET['id']) ? $_GET['id'] : "";
|
$operatorid = isset($_GET['id']) ? $_GET['id'] : "";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user