Skip to content

Commit 6649e1b

Browse files
committed
Try fix last logs #384
1 parent e8b697c commit 6649e1b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Components/Bitlockerstatus.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ static function updateBitlocker($computers_id, $ocsBitlockerStatus, $disk, $cfg_
9393
'EncryptionPaused' => 2,
9494
'DecryptionPaused' => 2
9595
];
96-
$input["encryption_status"] = $status[$statusText];
96+
$input["encryption_status"] = isset($status[$statusText]) ?? "";
9797
$input["encryption_tool"] = 'bitlocker';
9898
$input["encryption_algorithm"] = isset($bitlocker["ENCRYPMETHOD"]) ? $bitlocker["ENCRYPMETHOD"] : '';
9999
// $input["encryption_type"] =

src/Components/NetworkPort.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ private static function updateNetworkPort(
306306
// 'gateway' => $gateway,
307307
'addressable' => 1,
308308
'entities_id' => $entities_id,
309+
'_no_message' => 1
309310
];
310311

311312
if ($gateway != '0.0.0.0') {

0 commit comments

Comments
 (0)