Bug fixes for data insert with interval fields in form generate

- if interval is emtpy set NULL
- do some clean up for pk return data from the form/db array io part
This commit is contained in:
Clemens Schwaighofer
2016-01-07 13:06:47 +09:00
parent 805330638a
commit 4458f366f9
2 changed files with 12 additions and 1 deletions

View File

@@ -34,6 +34,7 @@
'output_name' => 'Password change interval',
'error_check' => 'intervalshort', // can be any date length format. n Y/M/D [not H/M/S], only one set, no combination
'type' => 'text',
'interval' => 1, // interval needs NULL write for empty
'size' => 5, // make it 5 chars long
'length' => 5
),