Merge pull request #2396 from pterodactyl/fix-2361

Fix empty array in node config YAML
This commit is contained in:
Dane Everitt 2020-09-22 19:36:41 -07:00 committed by GitHub
commit c75ed20b26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -181,7 +181,7 @@ class Node extends Model
*/
public function getYamlConfiguration()
{
return Yaml::dump($this->getConfiguration(), 4, 2);
return Yaml::dump($this->getConfiguration(), 4, 2, Yaml::DUMP_EMPTY_ARRAY_AS_SEQUENCE);
}
/**