When a form is submitted, integers are presented as strings. When we resubmit the same form, $value !== $this->original[$key] so is classed as 'dirty' and rewritten to the database. I propose to change this to:
$value != $this->original[$key]
on line 2158. I would submit a patch but PR seems to be disabled.
Can anyone think of why it should be type sensitive?
When a form is submitted, integers are presented as strings. When we resubmit the same form, $value !== $this->original[$key] so is classed as 'dirty' and rewritten to the database. I propose to change this to:
$value != $this->original[$key]
on line 2158. I would submit a patch but PR seems to be disabled.
Can anyone think of why it should be type sensitive?