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

feat(admin-plugin): fix issue with saving field created_at

This commit is contained in:
Awilum
2020-02-27 16:53:38 +03:00
parent bd09a0a30e
commit deb5827d01

View File

@@ -869,6 +869,7 @@ class EntriesController extends Controller
$entry = $this->entries->fetch($id);
Arr::delete($entry, 'slug');
Arr::delete($entry, 'modified_at');
Arr::delete($entry, 'created_at');
// Merge entry data with $data
$result_data = array_merge($entry, $data);