Skip to content

Commit

Permalink
index value - Führendes Leerzeichen entfernen (#1436)
Browse files Browse the repository at this point in the history
* index value - Führendes Leerzeichen entfernen

ungetestet - Alternativ bei $value noch ein trim() einbauen, statt umbauen.

* Update index.php
  • Loading branch information
alxndr-w authored Jul 11, 2023
1 parent b43eb3d commit 1fad431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/yform/value/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 1fad431

Please sign in to comment.