diff --git a/src/messenger/webim/operator/operators.php b/src/messenger/webim/operator/operators.php index b916aed8..d6720ef0 100644 --- a/src/messenger/webim/operator/operators.php +++ b/src/messenger/webim/operator/operators.php @@ -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");