diff --git a/emhttp/plugins/dynamix/include/Wrappers.php b/emhttp/plugins/dynamix/include/Wrappers.php index 6a797555e..3f1b5900e 100644 --- a/emhttp/plugins/dynamix/include/Wrappers.php +++ b/emhttp/plugins/dynamix/include/Wrappers.php @@ -117,7 +117,7 @@ function get_nvme_info($device, $info) { switch ($info) { case 'temp': exec("nvme id-ctrl /dev/$device | grep '^[wc]ctemp '",$temp); - return [my_explode(':',$temp[0])[1]-273,my_explode(':',$temp[1])[1]-273]; + return [my_explode(':',$temp[0])[1]-273, my_explode(':',$temp[1])[1]-273]; case 'cctemp': return my_explode(':',exec("nvme id-ctrl /dev/$device | grep '^cctemp '"))[1]-273; case 'wctemp':