Skip to content

Commit

Permalink
Merge cfa45a2 into 425f268
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciki committed Feb 12, 2024
2 parents 425f268 + cfa45a2 commit c765ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forms/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private static function sanitize(int $type, $value)
{
if ($type === Form::DataText) {
return is_scalar($value)
? Strings::normalizeNewLines($value)
? Strings::normalizeNewLines((string) $value)
: null;

} elseif ($type === Form::DataLine) {
Expand Down

0 comments on commit c765ff6

Please sign in to comment.