Skip to content
Snippets Groups Projects
Commit 7bc88c39 authored by Jared Hancock's avatar Jared Hancock
Browse files

Ensure FormField::toString() returns a string

Fixes #390
parent 2fa04d8f
Branches
Tags
No related merge requests found
...@@ -284,7 +284,7 @@ class FormField { ...@@ -284,7 +284,7 @@ class FormField {
* $value - PHP value of the field's content * $value - PHP value of the field's content
*/ */
function toString($value) { function toString($value) {
return $value; return (string) $value;
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment