Media youtube, title description, CMS Info Content / Header Frontend

This commit is contained in:
Kevin Adametz 2019-12-12 20:01:01 +01:00
parent c9f3d85d4e
commit 7294ccc1d0
49 changed files with 1283 additions and 148 deletions

View file

@ -67,7 +67,7 @@ class CmsContent extends Model
{
$value = $this->_format_number($value);
$value = substr($value, -13);
$this->attributes['decimal'] = floatval(str_replace(',', '.', $value));
$this->attributes['decimal'] = (float) str_replace(',', '.', $value);
}
public function getDecimalAttribute()