Bug fixes

This commit is contained in:
bergware
2020-03-23 08:34:53 +01:00
parent ca8f359a15
commit 7451ae2655

View File

@@ -357,7 +357,7 @@ case 'array':
} else {
foreach ($parity as $disk) if ($disk['status']!='DISK_NP_DSBL') array_online($disk);
foreach ($data as $disk) array_online($disk);
if ($display['total']) show_totals(sprintf(_('Array of %s devices'),my_word($var['mdNumDisks'])),true);
if ($display['total'] && $var['mdNumDisks']>1) show_totals(sprintf(_('Array of %s devices'),my_word($var['mdNumDisks'])),true);
}
break;
case 'flash':