aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-05-10 16:42:12 +0000
committerMario <mario@mariovavti.com>2023-05-10 16:43:00 +0000
commit5e4d0f45fc04a0e0fad698b4590f68de8145ce63 (patch)
tree177356889181ce1e4381632f29b88d5f3f14869e /Zotlabs
parent3fb27bdc550a0c3f84eff16a49cf78179a0b681c (diff)
downloadvolse-hubzilla-5e4d0f45fc04a0e0fad698b4590f68de8145ce63.tar.gz
volse-hubzilla-5e4d0f45fc04a0e0fad698b4590f68de8145ce63.tar.bz2
volse-hubzilla-5e4d0f45fc04a0e0fad698b4590f68de8145ce63.zip
check if var is set and escape $ sign in ru translation
Diffstat (limited to 'Zotlabs')
-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;
}