From 7451ae26558b12c366d4edb9e85b5a05c307ad2d Mon Sep 17 00:00:00 2001 From: bergware Date: Mon, 23 Mar 2020 08:34:53 +0100 Subject: [PATCH] Bug fixes --- plugins/dynamix/include/DeviceList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dynamix/include/DeviceList.php b/plugins/dynamix/include/DeviceList.php index 0a7ebe43d..d24f05228 100644 --- a/plugins/dynamix/include/DeviceList.php +++ b/plugins/dynamix/include/DeviceList.php @@ -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':