From: Michael Date: Tue, 9 Jan 2018 22:35:50 +0000 (+0000) Subject: Fill the cache fields as well X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8060ad265e6f1ac90462c1f119944e841f5127b5;p=friendica.git Fill the cache fields as well --- 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'],