File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77
88## [ UNRELEASE]
99
10+ ### Fixed
11+
12+ - Fix ` Undefined array key "id" ` when computer not already linkedo agent
13+
1014## [ 1.0.4] - 2025-09-04
1115
1216### Fixed
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ public static function handleInventoryTask(array $params)
138138 $ database_param_found = [];
139139
140140 // only Computer type
141- if (get_class ($ computer ) == Computer::getType ()) {
141+ if (get_class ($ computer ) == Computer::getType () && ! $ computer -> isNewItem () ) {
142142 $ database_param_table = PluginDatabaseinventoryDatabaseParam::getTable () ;
143143 $ database_param_computergroup_table = PluginDatabaseinventoryDatabaseParam_ComputerGroup::getTable ();
144144 $ computer_group_static_table = PluginDatabaseinventoryComputerGroupStatic::getTable ();
You can’t perform that action at this time.
0 commit comments