mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 20:43:25 +00:00
Fix databox upgrade
This commit is contained in:
@@ -942,7 +942,7 @@ class databox extends base
|
|||||||
)
|
)
|
||||||
) ? $type : databox_field::TYPE_STRING;
|
) ? $type : databox_field::TYPE_STRING;
|
||||||
|
|
||||||
$multi = isset($field['multi']) ? (Boolean) $field['multi'] : false;
|
$multi = isset($field['multi']) ? (Boolean) (string) $field['multi'] : false;
|
||||||
|
|
||||||
$meta_struct_field = databox_field::create($this->app, $this, $fname, $multi);
|
$meta_struct_field = databox_field::create($this->app, $this, $fname, $multi);
|
||||||
$meta_struct_field
|
$meta_struct_field
|
||||||
|
Reference in New Issue
Block a user