From 1fad431332911e8921b3f3c213d382d2125247f1 Mon Sep 17 00:00:00 2001 From: Alexander Walther Date: Tue, 11 Jul 2023 13:44:09 +0200 Subject: [PATCH] =?UTF-8?q?index=20value=20-=20F=C3=BChrendes=20Leerzeiche?= =?UTF-8?q?n=20entfernen=20(#1436)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * index value - Führendes Leerzeichen entfernen ungetestet - Alternativ bei $value noch ein trim() einbauen, statt umbauen. * Update index.php --- lib/yform/value/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/yform/value/index.php b/lib/yform/value/index.php index 3a07d4fe..a3d6f9bc 100644 --- a/lib/yform/value/index.php +++ b/lib/yform/value/index.php @@ -59,7 +59,7 @@ public function postFormAction(): void } } - $this->setValue($value); + $this->setValue(trim($value)); $this->params['value_pool']['email'][$this->getName()] = $this->getValue(); if ($this->saveInDb()) {