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
No related branches found
No related tags found
No related merge requests found
......@@ -284,7 +284,7 @@ class FormField {
* $value - PHP value of the field's content
*/
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