Fix possible use of undefined variable

This commit is contained in:
Fedor A. Fetisov 2014-11-26 00:54:14 +03:00
parent e78a250c82
commit fbaefff37d

View File

@ -24,6 +24,8 @@ $operator = check_login();
csrfchecktoken();
check_permissions($operator, $can_administrate);
$errors = array();
if (isset($_GET['act']) && $_GET['act'] == 'del') {
$operatorid = isset($_GET['id']) ? $_GET['id'] : "";