Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
$result = true;
if(is_array($option)) {
foreach ($option as $optionItem) {
- if(is_array($optionItem)) {
- $result = $result && self::arePlaceholdersSubstituted($option);
- }
+ $result = $result && self::arePlaceholdersSubstituted($optionItem);
}
} else if (is_string($option)) {
if (strpos(rtrim($option, '$'), '$') !== false) {
return [
['smb_$user', false],
['hidden_share$', true],
+ [['smb_$user', 'hidden_share$'], false],
+ [['smb_hello', 'hidden_share$'], true]
];
}