File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 1+ # Change Log
2+
3+ All notable changes to this project will be documented in this file.
4+
5+ The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
6+ and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
7+
8+ ## [ Unreleased]
9+
10+ ### Added
11+
12+ ### Fixed
13+
14+ - Fix option ``` Use LastHWScan ``` that no longer worked.
15+
Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ static function showConfigForm($item) {
303303 echo "</td></tr> \n" ;
304304
305305 echo "<tr class='tab_bg_1'> " ;
306- echo "<td> " .__ ("Use LastHWScan as GLPI last inventory " , "sccm " )."</td><td> " ;
306+ echo "<td> " .__ ("Use LastHWScan as GLPI last inventory date " , "sccm " )."</td><td> " ;
307307 Dropdown::showYesNo ("use_lasthwscan " , $ config ->getField ('use_lasthwscan ' ));
308308 echo "</td></tr> \n" ;
309309
Original file line number Diff line number Diff line change @@ -650,7 +650,7 @@ static function executePush($task) {
650650 $ asset = new $ agent ->fields ['itemtype ' ]();
651651 if ($ asset ->getFromDB ($ agent ->fields ['items_id ' ])) {
652652 $ asset ->update ([
653- "id " => $ agent ->fields ['id ' ],
653+ "id " => $ asset ->fields ['id ' ],
654654 "last_inventory_update " => $ tab ['vWD-LastScan ' ]->format ('Y-m-d h:i ' )
655655 ]);
656656 }
You can’t perform that action at this time.
0 commit comments