mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
fix: Change $file_name variable for $task
This commit is contained in:
parent
fd5ba3d0f8
commit
3ed55ec88a
@ -324,8 +324,8 @@ sub data_consumer ($$) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
rename($file_name, $file_name . '_BADXML');
|
rename($task, $task.'_BADXML');
|
||||||
pandora_event ($pa_config, "Unable to process XML data file ".(substr $file_name, 0, 20)."...", 0, 0, 0, 0, 0, 'error', 0, $dbh);
|
pandora_event ($pa_config, "Unable to process XML data file '$task'.", 0, 0, 0, 0, 0, 'error', 0, $dbh);
|
||||||
agent_unlock($pa_config, $agent_name);
|
agent_unlock($pa_config, $agent_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user