From 8b5b6f283dea54b1acb58859698957848ff72ad9 Mon Sep 17 00:00:00 2001 From: bergware Date: Tue, 10 Oct 2017 08:32:48 +0200 Subject: [PATCH] Normalize NVMe attributes list --- plugins/dynamix/include/SmartInfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dynamix/include/SmartInfo.php b/plugins/dynamix/include/SmartInfo.php index e9e5cbe0b..2e60c6a44 100644 --- a/plugins/dynamix/include/SmartInfo.php +++ b/plugins/dynamix/include/SmartInfo.php @@ -93,7 +93,7 @@ case "attributes": foreach ($output as $line) { if (strpos($line,':')===false) continue; list($name,$value) = explode(':', $line); - echo "-".ucfirst(strtolower($name))."$value"; + echo "-".ucfirst(strtolower($name))."".trim($value).""; } } break;