Parity check: allow schedule when array exists

This commit is contained in:
bergware
2025-05-23 11:38:53 +02:00
parent 34deed1f35
commit 36d10ad2b8

View File

@@ -1,7 +1,7 @@
Menu="Scheduler:1"
Title="Parity Check"
Tag="calendar"
Cond="$disks['parity']['device'] || $disks['parity2']['device']"
Cond="$disks['parity']['device'] || $disks['parity2']['device'] || count(array_filter(array_column($disks,'type'),function($type){return $type=='Data';}))"
---
<?PHP
/* Copyright 2012-2025, Bergware International.