mirror of
https://github.com/Mibew/design.git
synced 2025-01-22 18:10:33 +03:00
Fix notice about undef $errors in operator/operators.php
This commit is contained in:
parent
a23d9fa216
commit
2d08fda940
@ -24,6 +24,7 @@ csrfchecktoken();
|
||||
|
||||
if (isset($_GET['act'])) {
|
||||
|
||||
$errors = array();
|
||||
$operatorid = isset($_GET['id']) ? $_GET['id'] : "";
|
||||
if (!preg_match("/^\d+$/", $operatorid)) {
|
||||
$errors[] = getlocal("no_such_operator");
|
||||
|
Loading…
Reference in New Issue
Block a user