diff options
author | Simon Rettberg | 2022-10-27 16:12:57 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-10-27 16:12:57 +0200 |
commit | 0d4c6a6c4dee68d7ad0de5b884f9c8fc8f00d0a2 (patch) | |
tree | c11f179e8b9a5afb3cb6b592b8871614bc2cc468 /modules-available/statistics/pages | |
parent | [statistics] Use partition numbers from kernel (diff) | |
download | slx-admin-0d4c6a6c4dee68d7ad0de5b884f9c8fc8f00d0a2.tar.gz slx-admin-0d4c6a6c4dee68d7ad0de5b884f9c8fc8f00d0a2.tar.xz slx-admin-0d4c6a6c4dee68d7ad0de5b884f9c8fc8f00d0a2.zip |
[statistics] Force-override partiton name for 44/45 in machine view
Diffstat (limited to 'modules-available/statistics/pages')
-rw-r--r-- | modules-available/statistics/pages/machine.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/statistics/pages/machine.inc.php b/modules-available/statistics/pages/machine.inc.php index 6368a2b7..b6c1f53c 100644 --- a/modules-available/statistics/pages/machine.inc.php +++ b/modules-available/statistics/pages/machine.inc.php @@ -593,7 +593,7 @@ class SubPage $part['size_s'] = Util::readableFileSize($part['size']); $used += $part['size']; $lastEnd = $part['start'] + $part['size']; - if (!isset($part['name'])) { + if (!isset($part['name']) || isset($part['slxtype'])) { $part['name'] = self::partTypeToName($part['slxtype'] ?? $part['type']); } } |