Fill the cache fields as well

This commit is contained in:
Michael 2018-01-09 22:35:50 +00:00
parent bbd9d587c7
commit 8060ad265e

View file

@ -810,6 +810,11 @@ function item_post(App $a) {
}
if ($orig_post) {
// Fill the cache field
// This could be done in Item::update as well - but we hasd to check for the existance of some fields.
put_item_in_cache($datarray);
$fields = array(
'title' => $datarray['title'],
'body' => $datarray['body'],