unbound: migration of empty nodes failed

PR: https://forum.opnsense.org/index.php?topic=35134.0
This commit is contained in:
Franco Fichtner 2023-08-02 09:49:38 +02:00
parent 84c7e49944
commit f5efffcf94

View File

@ -46,7 +46,7 @@ class M1_0_5 extends BaseModelMigration
$new[$key] = empty($config->unbound->$key) ? 0 : 1;
continue;
}
$new[$key] = $config->unbound->$key;
$new[$key] = (string)$config->unbound->$key;
}
}