From 2d08fda940a4bec9bfb5ad85e86f4cacc7c14cf3 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Fri, 26 Apr 2013 09:57:26 +0000 Subject: [PATCH] Fix notice about undef $errors in operator/operators.php --- src/messenger/webim/operator/operators.php | 1 + 1 file changed, 1 insertion(+) 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");