Hello everyone,
I want to put the box "Allow manual close" checked by default on create trigger form.
I saw in the file include/schema.inc.php
'triggers' => [
...
'manual_close' => [
'null' => false,
'type' => DB::FIELD_TYPE_INT,
'length' => 10,
'default' => '0',
],
And in file include/define.inc.php
define('ZBX_TRIGGER_MANUAL_CLOSE_NOT_ALLOWED', 0);
define('ZBX_TRIGGER_MANUAL_CLOSE_ALLOWED', 1);
Il try to set default value to 1 (in schema.inc.php) but not working.
How to do ?
Thank in advance.
Regards,
I want to put the box "Allow manual close" checked by default on create trigger form.
I saw in the file include/schema.inc.php
'triggers' => [
...
'manual_close' => [
'null' => false,
'type' => DB::FIELD_TYPE_INT,
'length' => 10,
'default' => '0',
],
And in file include/define.inc.php
define('ZBX_TRIGGER_MANUAL_CLOSE_NOT_ALLOWED', 0);
define('ZBX_TRIGGER_MANUAL_CLOSE_ALLOWED', 1);
Il try to set default value to 1 (in schema.inc.php) but not working.
How to do ?
Thank in advance.
Regards,
Comment