This commit is contained in:
Bastian Allgeier
2020-07-07 12:40:13 +02:00
parent 5f025ac2c2
commit f79d2e960c
176 changed files with 10532 additions and 5343 deletions

View File

@@ -2,7 +2,7 @@
namespace Kirby\Form;
use Kirby\Data\Yaml;
use Kirby\Data\Data;
use Throwable;
/**
@@ -154,7 +154,7 @@ class Form
if ($value === null) {
$strings[$key] = null;
} elseif (is_array($value) === true) {
$strings[$key] = Yaml::encode($value);
$strings[$key] = Data::encode($value, 'yaml');
} else {
$strings[$key] = $value;
}