intermediate commit

This commit is contained in:
iIronside
2022-01-07 15:04:11 +03:00
parent e16e72dcc1
commit d31a4757ff
32 changed files with 5163 additions and 270 deletions

View File

@ -56,7 +56,7 @@ class TemplateDocumentField extends \yii\db\ActiveRecord
*/
public function getField()
{
return $this->hasOne(DocumentField::className(), ['id' => 'field_id']);
return $this->hasOne(DocumentField::className(), ['id' => 'field_id'])->asArray();
}
/**