spaces and symbols in files names

This commit is contained in:
Leorne 2019-12-06 15:40:41 +03:00
parent deee41345d
commit 7b7fa6c51d

View File

@ -52,7 +52,7 @@ class Note extends \common\models\Note
foreach ( $post['fields'] as $item) { foreach ( $post['fields'] as $item) {
$item['value'] = urldecode($item['value']); $item['value'] = urldecode($item['value']);
$fieldsValue = new FieldsValueNew(); $fieldsValue = new FieldsValueNew();
$fieldsValue->field_id = $item['field_id']; $fieldsValue->field_id = $item['field_id'];
$fieldsValue->item_id = $this->id; $fieldsValue->item_id = $this->id;