aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ThreadItem.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2018-11-22 10:17:18 +0100
committerMario <mario@mariovavti.com>2018-11-22 10:17:18 +0100
commit85f52d2aeda44072013b9af5bfd470fbf47c2769 (patch)
treec70da697b7aba9d3befeaf9330db6ef8a9619b2a /Zotlabs/Lib/ThreadItem.php
parente30be643c9f217dc379aac0feb085a1b1ffa44e1 (diff)
parentea235c0c6751b682332b968b4c18f905e8ece451 (diff)
downloadvolse-hubzilla-85f52d2aeda44072013b9af5bfd470fbf47c2769.tar.gz
volse-hubzilla-85f52d2aeda44072013b9af5bfd470fbf47c2769.tar.bz2
volse-hubzilla-85f52d2aeda44072013b9af5bfd470fbf47c2769.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-rw-r--r--Zotlabs/Lib/ThreadItem.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php
index 93d8aa3a5..83d243177 100644
--- a/Zotlabs/Lib/ThreadItem.php
+++ b/Zotlabs/Lib/ThreadItem.php
@@ -39,6 +39,8 @@ class ThreadItem {
$this->data = $data;
$this->toplevel = ($this->get_id() == $this->get_data_value('parent'));
+ $observer = \App::get_observer();
+
// Prepare the children
if($data['children']) {
foreach($data['children'] as $item) {
@@ -51,6 +53,7 @@ class ThreadItem {
continue;
}
+
$child = new ThreadItem($item);
$this->add_child($child);
}