Commit 1ed138b4 authored by webchick's avatar webchick

Issue #2209071 by tstoeckler: StringItem should cast the 'length' schema value to (int).

parent a566566e
......@@ -44,7 +44,7 @@ public static function schema(FieldDefinitionInterface $field_definition) {
'columns' => array(
'value' => array(
'type' => 'varchar',
'length' => $field_definition->getSetting('max_length'),
'length' => (int) $field_definition->getSetting('max_length'),
'not null' => FALSE,
),
),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment