Skip to content
Snippets Groups Projects
Commit 07ab2cac authored by Matthieu Guffroy's avatar Matthieu Guffroy
Browse files

repair BoolField

parent 35e129bc
No related branches found
No related tags found
No related merge requests found
......@@ -14,10 +14,10 @@ class BoolField extends Field
{
if (isset($_POST[$this->name]))
{
$this->value = true;
$this->value = 1;
}
else {
$this->value = false;
$this->value = 0;
}
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment