Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrejs Verza <andrejs.verza@zabbix.com>2022-03-07 12:10:14 +0300
committerAndrejs Verza <andrejs.verza@zabbix.com>2022-03-07 12:10:14 +0300
commit187c4d85dd4a4df507301e79785c2d6b338917fb (patch)
treefa63913c5f2897cbdf6c263c2b7d69b82b44c6bf
parent174a3675152407530b9b88963247a7695ddf68f5 (diff)
..F....... [ZBX-19583] fixed typos
-rw-r--r--ui/app/controllers/CControllerTokenCreate.php2
-rw-r--r--ui/app/controllers/CControllerTokenUpdate.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/controllers/CControllerTokenCreate.php b/ui/app/controllers/CControllerTokenCreate.php
index d0639431c43..06649cc245a 100644
--- a/ui/app/controllers/CControllerTokenCreate.php
+++ b/ui/app/controllers/CControllerTokenCreate.php
@@ -52,7 +52,7 @@ class CControllerTokenCreate extends CController {
}
if ($validator->isErrorFatal()) {
- $validation_result = $validator->isErrorFatal();
+ $validation_result = self::VALIDATION_FATAL_ERROR;
}
elseif ($validator->isError()) {
$validation_result = self::VALIDATION_ERROR;
diff --git a/ui/app/controllers/CControllerTokenUpdate.php b/ui/app/controllers/CControllerTokenUpdate.php
index 68c2fcd6138..10f1de673cd 100644
--- a/ui/app/controllers/CControllerTokenUpdate.php
+++ b/ui/app/controllers/CControllerTokenUpdate.php
@@ -53,7 +53,7 @@ class CControllerTokenUpdate extends CController {
}
if ($validator->isErrorFatal()) {
- $validation_result = $validator->isErrorFatal();
+ $validation_result = self::VALIDATION_FATAL_ERROR;
}
elseif ($validator->isError()) {
$validation_result = self::VALIDATION_ERROR;