LSformElement::getEmptyField(): do not set value to null (already set by fetchTemplate())

This commit is contained in:
Benjamin Renard 2021-11-29 12:34:39 +01:00
parent b42093cf45
commit 25f2ccd32e

View file

@ -317,7 +317,6 @@ class LSformElement extends LSlog_staticLoggerClass {
return $this -> fetchTemplate( return $this -> fetchTemplate(
$this -> fieldTemplate, $this -> fieldTemplate,
array( array(
'value' => null,
'value_idx' => intval($value_idx), 'value_idx' => intval($value_idx),
) )
); );