mirror of https://github.com/friendica/friendica
Prevent DeliveryData update if uri-id field is NULL in Model\Item
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-696294754
This commit is contained in:
parent
d0505222ef
commit
227813ac3c
|
@ -992,7 +992,9 @@ class Item
|
|||
}
|
||||
}
|
||||
|
||||
Post\DeliveryData::update($item['uri-id'], $delivery_data);
|
||||
if ($item['uri-id']) {
|
||||
Post\DeliveryData::update($item['uri-id'], $delivery_data);
|
||||
}
|
||||
|
||||
self::updateThread($item['id']);
|
||||
|
||||
|
|
Loading…
Reference in New Issue