mirror of
https://github.com/getgrav/grav.git
synced 2026-02-05 06:10:13 +01:00
Fixed empty form flash name after update
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
1. [](#bugfix)
|
||||
* Fixed error in `ImageMedium::url()` if the image cache folder does not exist
|
||||
* Fixed empty form flash name after update
|
||||
|
||||
# v1.6.10
|
||||
## 06/14/2019
|
||||
|
||||
@@ -66,7 +66,7 @@ class FormFlash implements \JsonSerializable
|
||||
} catch (\Exception $e) {
|
||||
$data = [];
|
||||
}
|
||||
$this->formName = null !== $formName ? $content['form'] ?? '' : '';
|
||||
$this->formName = $content['form'] ?? $formName;
|
||||
$this->url = $data['url'] ?? '';
|
||||
$this->user = $data['user'] ?? null;
|
||||
$this->data = $data['data'] ?? null;
|
||||
|
||||
Reference in New Issue
Block a user