From a181bb0abc5e34591d5576371c631ec0ca21f9fa Mon Sep 17 00:00:00 2001 From: Joby Elliott Date: Tue, 28 Aug 2018 11:48:05 -0600 Subject: [PATCH] actually fixed key normalizing --- src/FlatArrayTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FlatArrayTrait.php b/src/FlatArrayTrait.php index ab25931..b720415 100644 --- a/src/FlatArrayTrait.php +++ b/src/FlatArrayTrait.php @@ -145,7 +145,7 @@ trait FlatArrayTrait { //normalize key names in $value, and also $name $value = $this->normalizeValue($value); - $name = preg_replace('/\./', '', strtolower($name)); + $name = strtolower($name); //check for home strings if ($name == '' || $name === null) { if ($unset) {