mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Force to update data module synthetic when module created with CLI. Tiquet: #3034
(cherry picked from commit 7627b91c884024cd96930c9a913170fff9d86ac7)
This commit is contained in:
parent
ab46cde699
commit
873611f0fd
@ -3338,7 +3338,8 @@ sub cli_create_synthetic() {
|
||||
$module->{'custom_integer_1'} = 0;
|
||||
$module->{'custom_integer_2'} = 0;
|
||||
$module->{'prediction_module'} = 3; # Synthetic code is 3
|
||||
|
||||
$module->{'flag'} = 1;
|
||||
|
||||
my $id_agent = int(get_agent_id($dbh,$agent_name));
|
||||
|
||||
if ($id_agent > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user