Skip to content
Snippets Groups Projects
Commit 5a7742b2 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #508700 by yched: field cardinality stored twice.

parent 7f160663
No related branches found
No related tags found
No related merge requests found
......@@ -261,7 +261,7 @@ function field_create_field($field) {
// have its own column and is not automatically populated when the field is
// read.
$data = $field;
unset($data['columns'], $data['field_name'], $data['type'], $data['locked'], $data['module'], $data['active'], $data['deleted']);
unset($data['columns'], $data['field_name'], $data['type'], $data['locked'], $data['module'], $data['cardinality'], $data['active'], $data['deleted']);
$field['data'] = $data;
// Store the field and create the id.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment