aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Activity.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-05-10 16:42:12 +0000
committerMario <mario@mariovavti.com>2023-05-10 16:42:12 +0000
commitefd2f78274bf3163ca714a95b9c58ab54f96bac5 (patch)
tree206ff5fc471c9c948d798cae74b63a7d55eb9577 /Zotlabs/Lib/Activity.php
parent690ff955faae427c4c865b6e6b8cce636e100797 (diff)
downloadvolse-hubzilla-efd2f78274bf3163ca714a95b9c58ab54f96bac5.tar.gz
volse-hubzilla-efd2f78274bf3163ca714a95b9c58ab54f96bac5.tar.bz2
volse-hubzilla-efd2f78274bf3163ca714a95b9c58ab54f96bac5.zip
check if var is set and escape $ sign in ru translation
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r--Zotlabs/Lib/Activity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 58b7f95a2..9f957c988 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -2414,7 +2414,7 @@ class Activity {
$s['edited'] = datetime_convert();
}
- if (in_array($act->type, ['Delete', 'Undo', 'Tombstone']) || ($act->type === 'Create' && $act->obj['type'] === 'Tombstone')) {
+ if (in_array($act->type, ['Delete', 'Undo', 'Tombstone']) || ($act->type === 'Create' && (isset($act->obj['type']) && $act->obj['type'] === 'Tombstone'))) {
$s['item_deleted'] = 1;
}