diff --git a/emhttp/plugins/dynamix/ShareEdit.page b/emhttp/plugins/dynamix/ShareEdit.page index 093ad9ff6..f4532c15a 100644 --- a/emhttp/plugins/dynamix/ShareEdit.page +++ b/emhttp/plugins/dynamix/ShareEdit.page @@ -57,7 +57,7 @@ if ((! $share['cachePool']) && ($share['cachePool2'])) { } /* Check for non existent pool device. */ -if ($share['cachePool'] && !in_array($share['cachePool'], $pools)) { +if (($share['cachePool'] && !in_array($share['cachePool'], $pools)) || ($poolsOnly && !$share['cachePool'])) { $poolDefined = false; $share['useCache'] = $share['cachePool2'] ? "yes" : ($poolsOnly ? "no" : "yes"); } else { @@ -457,7 +457,7 @@ _(Excluded disk(s))_: -