fix wrong display on extrafields type = double

This commit is contained in:
Antonin MARCHAL 2021-06-16 14:21:23 +02:00
parent 884ef12dde
commit d5cb81982d

View File

@ -1613,7 +1613,7 @@ class ExtraFields
if (!empty($extrafieldsobjectkey)) { if (!empty($extrafieldsobjectkey)) {
$label = $this->attributes[$extrafieldsobjectkey]['label'][$key]; $label = $this->attributes[$extrafieldsobjectkey]['label'][$key];
$type = $this->attributes[$extrafieldsobjectkey]['type'][$key]; $type = $this->attributes[$extrafieldsobjectkey]['type'][$key];
$size = (int) $this->attributes[$extrafieldsobjectkey]['size'][$key]; $size = $this->attributes[$extrafieldsobjectkey]['size'][$key];
$default = $this->attributes[$extrafieldsobjectkey]['default'][$key]; $default = $this->attributes[$extrafieldsobjectkey]['default'][$key];
$computed = $this->attributes[$extrafieldsobjectkey]['computed'][$key]; $computed = $this->attributes[$extrafieldsobjectkey]['computed'][$key];
$unique = $this->attributes[$extrafieldsobjectkey]['unique'][$key]; $unique = $this->attributes[$extrafieldsobjectkey]['unique'][$key];