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>2021-08-31 13:55:11 +0300
committerAndrejs Verza <andrejs.verza@zabbix.com>2021-08-31 13:55:11 +0300
commit907ba1474f48034ce3a553563e12fa432ddf3554 (patch)
tree763dd446221799f24f52909dfa4df9b8b116cded /ui/actionconf.php
parent4cd3209395d4b0cdae183d9c159b49651c3f392e (diff)
A.F....... [ZBX-19888] fixed constant name to comply with server implementation
Diffstat (limited to 'ui/actionconf.php')
-rw-r--r--ui/actionconf.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/actionconf.php b/ui/actionconf.php
index f53bba494ff..2440c2b170c 100644
--- a/ui/actionconf.php
+++ b/ui/actionconf.php
@@ -474,7 +474,7 @@ if (hasRequest('form')) {
foreach ($data['action'][$operations] as &$operation) {
if (($operation['operationtype'] == OPERATION_TYPE_MESSAGE
|| $operation['operationtype'] == OPERATION_TYPE_RECOVERY_MESSAGE
- || $operation['operationtype'] == OPERATION_TYPE_ACK_MESSAGE)
+ || $operation['operationtype'] == OPERATION_TYPE_UPDATE_MESSAGE)
&& !array_key_exists('default_msg', $operation['opmessage'])) {
$operation['opmessage']['default_msg'] = 1;
$operation['opmessage']['subject'] = '';