mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Added also datetime, since it can have microseconds, too
This commit is contained in:
parent
40b812e391
commit
0de87cd74e
1 changed files with 1 additions and 0 deletions
|
@ -1310,6 +1310,7 @@ class FormHelper extends AppHelper {
|
||||||
$fieldDef['length'] < 1000000 &&
|
$fieldDef['length'] < 1000000 &&
|
||||||
$fieldDef['type'] !== 'decimal' &&
|
$fieldDef['type'] !== 'decimal' &&
|
||||||
$fieldDef['type'] !== 'time' &&
|
$fieldDef['type'] !== 'time' &&
|
||||||
|
$fieldDef['type'] !== 'datetime' &&
|
||||||
$options['type'] !== 'select'
|
$options['type'] !== 'select'
|
||||||
);
|
);
|
||||||
if ($autoLength &&
|
if ($autoLength &&
|
||||||
|
|
Loading…
Reference in a new issue