diff options
author | Mario <mario@mariovavti.com> | 2022-11-03 15:26:46 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-11-03 15:26:46 +0000 |
commit | b55801323c19928fc7cb82c007856087e3d6545a (patch) | |
tree | 776e6b24a5f100974812bb1708365c228b9190fa /Zotlabs/Lib | |
parent | 818374c8ccf29b0911fc02e2d9786eff3a731088 (diff) | |
download | volse-hubzilla-b55801323c19928fc7cb82c007856087e3d6545a.tar.gz volse-hubzilla-b55801323c19928fc7cb82c007856087e3d6545a.tar.bz2 volse-hubzilla-b55801323c19928fc7cb82c007856087e3d6545a.zip |
fix warnings
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/ThreadItem.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index 472e2c6db..6ca952969 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -84,10 +84,8 @@ class ThreadItem { public function get_template_data($conv_responses, $thread_level=1, $conv_flags = []) { - $result = array(); - - $item = $this->get_data(); - + $result = []; + $item = $this->get_data(); $commentww = ''; $sparkle = ''; $buttons = ''; |