KickstartHelper: ignore empty host property

This commit is contained in:
Thomas Gelf 2016-03-07 01:10:17 +01:00
parent a76b41c648
commit e3699ac294

View File

@ -50,6 +50,10 @@ class KickstartHelper
public function setConfig($config)
{
foreach ($config as $key => $value) {
if ($value === '') {
continue;
}
if (! array_key_exists($key, $this->config)) {
throw new ProgrammingError(
'"%s" is not a valid config setting for the kickstart helper',