1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-23 13:23:18 +02:00

feat(admin-plugin): add new heading field #299

This commit is contained in:
Awilum
2019-12-01 21:06:44 +03:00
parent 82f9ea28a8
commit 9d27f6e191

View File

@@ -248,6 +248,13 @@ class EntriesController extends Controller
$data_result = $data_from_post;
}
if ($this->entries->create($id, $data_result)) {
$this->clearEntryCounter($parent_entry_id);
$this->flash->addMessage('success', __('admin_message_entry_created'));
} else {
$this->flash->addMessage('error', __('admin_message_entry_was_not_created'));
}
} else {
$this->flash->addMessage('error', __('admin_message_fieldset_not_found'));
}