Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
1ed138b4
Commit
1ed138b4
authored
Mar 04, 2014
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2209071
by tstoeckler: StringItem should cast the 'length' schema value to (int).
parent
a566566e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItem.php
...b/Drupal/Core/Field/Plugin/Field/FieldType/StringItem.php
+1
-1
No files found.
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItem.php
View file @
1ed138b4
...
...
@@ -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
,
),
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment