mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-25 14:58:40 +00:00
Make sure null value is turned into an empty string [skip ci]
This commit is contained in:
@@ -756,6 +756,7 @@ class ExpandedForm
|
|||||||
*/
|
*/
|
||||||
public function textarea(string $name, $value = null, array $options = null): string
|
public function textarea(string $name, $value = null, array $options = null): string
|
||||||
{
|
{
|
||||||
|
$value = $value ?? '';
|
||||||
$label = $this->label($name, $options);
|
$label = $this->label($name, $options);
|
||||||
$options = $this->expandOptionArray($name, $label, $options);
|
$options = $this->expandOptionArray($name, $label, $options);
|
||||||
$classes = $this->getHolderClasses($name);
|
$classes = $this->getHolderClasses($name);
|
||||||
|
Reference in New Issue
Block a user