mirror of
https://github.com/friendica/friendica
synced 2024-11-19 15:03:40 +00:00
Avoid "Undefined index: verb"
This commit is contained in:
parent
8c9346fc12
commit
c62d93cfe8
1 changed files with 1 additions and 1 deletions
|
@ -1059,7 +1059,7 @@ class Item
|
|||
$update_commented = in_array($item['gravity'], [GRAVITY_PARENT, GRAVITY_COMMENT]);
|
||||
} else {
|
||||
// Update when it isn't a follow or tag verb
|
||||
$update_commented = !in_array($item['verb'], [Activity::FOLLOW, Activity::TAG]);
|
||||
$update_commented = !in_array($item['verb'] ?? '', [Activity::FOLLOW, Activity::TAG]);
|
||||
}
|
||||
|
||||
if ($update_commented) {
|
||||
|
|
Loading…
Reference in a new issue