mirror of
https://github.com/friendica/friendica
synced 2024-11-18 01:03:40 +00:00
Fill the cache fields as well
This commit is contained in:
parent
bbd9d587c7
commit
8060ad265e
1 changed files with 5 additions and 0 deletions
|
@ -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'],
|
||||
|
|
Loading…
Reference in a new issue