From 25f2ccd32ef4cd25a09b4f7d9bcc3fd8dd88f8e7 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 29 Nov 2021 12:34:39 +0100 Subject: [PATCH] LSformElement::getEmptyField(): do not set value to null (already set by fetchTemplate()) --- src/includes/class/class.LSformElement.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/includes/class/class.LSformElement.php b/src/includes/class/class.LSformElement.php index b3a2d44f..4899f899 100644 --- a/src/includes/class/class.LSformElement.php +++ b/src/includes/class/class.LSformElement.php @@ -317,7 +317,6 @@ class LSformElement extends LSlog_staticLoggerClass { return $this -> fetchTemplate( $this -> fieldTemplate, array( - 'value' => null, 'value_idx' => intval($value_idx), ) );