aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2025-05-21 09:13:58 +0000
committerMario <mario@mariovavti.com>2025-05-21 09:13:58 +0000
commit48162fc8d6c30aa8dc4c12464cdd8ce2161ddd11 (patch)
tree223a238cd6b6f4b0748a23ef5a688ee9570fc6f2
parent868f9a6b92469ce4eb6678b11e0267ce80d97988 (diff)
downloadvolse-hubzilla-48162fc8d6c30aa8dc4c12464cdd8ce2161ddd11.tar.gz
volse-hubzilla-48162fc8d6c30aa8dc4c12464cdd8ce2161ddd11.tar.bz2
volse-hubzilla-48162fc8d6c30aa8dc4c12464cdd8ce2161ddd11.zip
fix php warning
-rw-r--r--Zotlabs/Lib/ThreadItem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php
index 1272d6397..888c8f79b 100644
--- a/Zotlabs/Lib/ThreadItem.php
+++ b/Zotlabs/Lib/ThreadItem.php
@@ -454,7 +454,7 @@ class ThreadItem {
'wait' => t('Please wait'),
'thread_level' => $thread_level,
'settings' => $settings,
- 'thr_parent_uuid' => (($item['parent_mid'] != $item['thr_parent']) ? $conv->mid_uuid_map[$item['thr_parent']] : ''),
+ 'thr_parent_uuid' => (($item['parent_mid'] !== $item['thr_parent'] && isset($conv->mid_uuid_map[$item['thr_parent']])) ? $conv->mid_uuid_map[$item['thr_parent']] : ''),
'contact_id' => (($contact) ? $contact['abook_id'] : ''),
'moderate' => ($item['item_blocked'] == ITEM_MODERATED),
'moderate_approve' => t('Approve'),