mirror of
https://github.com/getgrav/grav.git
synced 2026-07-08 18:53:35 +02:00
Fixed environment issue #2284
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -161,7 +161,7 @@ class Setup extends Data
|
||||
$request = $container['request'];
|
||||
$host = $request->getUri()->getHost();
|
||||
|
||||
static::$environment = $host;
|
||||
static::$environment = Utils::substrToString($host, ':');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user