Skip to content
Snippets Groups Projects
Commit 156a790c authored by Nicholas Stees's avatar Nicholas Stees
Browse files

Directly manipulate the field item properties

parent 14c62b83
No related branches found
No related tags found
1 merge request!5Fix Background Image Field Formatter Dependencies and Image Loading
......@@ -245,6 +245,6 @@ class BgImgItem extends ImageItem {
// Handle the custom file extensions setting before saving.
$extensions = preg_split('/[\s,]+/', $this->getSetting('file_extensions'));
$this->setSetting('file_extensions', implode(' ', array_filter($extensions)));
$this->file_extensions = implode(' ', array_filter($extensions));
}
}
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