Fixed environment issue #2284

This commit is contained in:
Andy Miller
2019-01-14 13:55:29 -07:00
parent 3a9e57e228
commit e520bd0eb8
2 changed files with 2 additions and 1 deletions

View File

@@ -14,6 +14,7 @@
1. [](#improved)
* Added method argument `Data::filter($missingValuesAsNull)`, defaulting to `false`
1. [](#bugfix)
* Fixed environment getting port added [#2284](https://github.com/getgrav/grav/issues/2284)
* Fixed `FlexForm::updateObject()` to update array values when they are empty in the form
# v1.6.0-beta.7

View File

@@ -161,7 +161,7 @@ class Setup extends Data
$request = $container['request'];
$host = $request->getUri()->getHost();
static::$environment = $host;
static::$environment = Utils::substrToString($host, ':');
}
}