mirror of
https://github.com/getgrav/grav.git
synced 2026-05-05 13:27:09 +02:00
Fixed empty form flash name after update
This commit is contained in:
@@ -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