Fixed cache pool message when array in maintenance mode

This commit is contained in:
bergware
2017-12-09 18:20:57 +01:00
parent 73b60ba091
commit b7d5d8ffb7
+1 -1
View File
@@ -125,7 +125,7 @@ function vfs_luks($fs) {
function fs_info(&$disk) {
global $display;
if ($disk['fsStatus']=='-') {
echo $disk['type']=='Cache' ? "<td colspan='4'>Device is part of cache pool</td><td></td>" : "<td colspan='5'></td>";
echo ($disk['type']=='Cache' && $disk['name']!='cache') ? "<td colspan='4'>Device is part of cache pool</td><td></td>" : "<td colspan='5'></td>";
return;
} elseif ($disk['fsStatus']=='Mounted') {
echo "<td>".vfs_type($disk['fsType'])."</td>";