Fixed empty form flash name after update

This commit is contained in:
Matias Griese
2019-06-19 20:56:23 +03:00
parent a10893eaad
commit ac9ef4da76
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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;