mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Empty YAML config causes invalid argument error
This commit is contained in:
parent
745faebd81
commit
8673ac15bc
@ -652,8 +652,10 @@ class SS_ConfigManifest {
|
|||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function mergeInYamlFragment(&$into, $fragment) {
|
public function mergeInYamlFragment(&$into, $fragment) {
|
||||||
foreach ($fragment as $k => $v) {
|
if ($fragment) {
|
||||||
Config::merge_high_into_low($into[$k], $v);
|
foreach ($fragment as $k => $v) {
|
||||||
|
Config::merge_high_into_low($into[$k], $v);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
Name: emptyconfig
|
||||||
|
---
|
Loading…
x
Reference in New Issue
Block a user