Changes after code review

This commit is contained in:
Michael 2022-05-05 12:23:44 +00:00
commit 2433fee461
7 changed files with 6 additions and 59 deletions

View file

@ -672,7 +672,8 @@ function item_post(App $a) {
'attach' => $datarray['attach'],
'file' => $datarray['file'],
'edited' => DateTimeFormat::utcNow(),
'changed' => DateTimeFormat::utcNow()];
'changed' => DateTimeFormat::utcNow()
];
Item::update($fields, ['id' => $post_id]);
Item::updateDisplayCache($datarray['uri-id']);