mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 19:43:16 +00:00
Databox field type is required and default is string
This commit is contained in:
@@ -177,7 +177,7 @@ class databox_field implements cache_cacheableInterface
|
|||||||
$this->required = !!$row['required'];
|
$this->required = !!$row['required'];
|
||||||
$this->multi = !!$row['multi'];
|
$this->multi = !!$row['multi'];
|
||||||
$this->report = !!$row['report'];
|
$this->report = !!$row['report'];
|
||||||
$this->type = $row['type'];
|
$this->type = $row['type'] ?: self::TYPE_STRING;
|
||||||
$this->tbranch = $row['tbranch'];
|
$this->tbranch = $row['tbranch'];
|
||||||
if ($row['dces_element'])
|
if ($row['dces_element'])
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user