Commit 13120d60 authored by alaunois's avatar alaunois
Browse files

fix(conf) accept option 'none' in hostTemplateFactoryRdb (#11088)

parent 04fdcf38
......@@ -131,7 +131,7 @@ class HostTemplateFactoryRdb
}
$optionToDefine = 0;
$optionsTags = explode(',', $options);
$optionsNotAllowed = array_diff($optionsTags, ['d','u','r','f','s',]);
$optionsNotAllowed = array_diff($optionsTags, ['d','u','r','f','s','n']);
if (!empty($optionsNotAllowed)) {
throw HostTemplateFactoryException::notificationOptionsNotAllowed(implode(',', $optionsNotAllowed));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment