mirror of
https://github.com/friendica/friendica
synced 2025-04-22 03:50:11 +00:00
Emergency fixes to fix a bunch of fatal errors
This commit is contained in:
parent
974564f75e
commit
2ddf37f32d
6 changed files with 27 additions and 23 deletions
|
@ -900,7 +900,7 @@ class Processor
|
|||
}
|
||||
|
||||
// Store send a follow request for every reshare - but only when the item had been stored
|
||||
if ($stored && ($item['private'] != Item::PRIVATE) && ($item['gravity'] == GRAVITY_PARENT) && ($item['author-link'] != $item['owner-link'])) {
|
||||
if ($stored && ($item['private'] != Item::PRIVATE) && ($item['gravity'] == GRAVITY_PARENT) && !empty($item['author-link']) && ($item['author-link'] != $item['owner-link'])) {
|
||||
$author = APContact::getByURL($item['owner-link'], false);
|
||||
// We send automatic follow requests for reshared messages. (We don't need though for forum posts)
|
||||
if ($author['type'] != 'Group') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue