From 8060ad265e6f1ac90462c1f119944e841f5127b5 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 9 Jan 2018 22:35:50 +0000 Subject: [PATCH] Fill the cache fields as well --- mod/item.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mod/item.php b/mod/item.php index 5d9ca81996..fd6af802b0 100644 --- a/mod/item.php +++ b/mod/item.php @@ -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'],