mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:42:54 +00:00
Bugfix: The Diaspora signature wasn't stored by nested comments
This commit is contained in:
parent
7eb637c6ea
commit
b6f15ec5ce
1 changed files with 11 additions and 1 deletions
12
mod/item.php
12
mod/item.php
|
@ -836,7 +836,17 @@ function item_post(App $a) {
|
|||
|
||||
$post_id = item_store($datarray);
|
||||
|
||||
$datarray["id"] = $post_id;
|
||||
if (!$post_id) {
|
||||
logger("Item wasn't stored.");
|
||||
goaway($return_path);
|
||||
}
|
||||
|
||||
$datarray = dba::selectFirst('item', [], ['id' => $post_id]);
|
||||
|
||||
if (!DBM::is_result($datarray)) {
|
||||
logger("Item with id ".$post_id." couldn't be fetched.");
|
||||
goaway($return_path);
|
||||
}
|
||||
|
||||
// update filetags in pconfig
|
||||
file_tag_update_pconfig($uid, $categories_old, $categories_new, 'category');
|
||||
|
|
Loading…
Reference in a new issue