diff options
author | Mario <mario@mariovavti.com> | 2024-03-07 10:16:35 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-03-07 10:16:35 +0000 |
commit | 9e8ba5f6e24d4fdd1e06350f69731aaac9425948 (patch) | |
tree | f6810908703fca1e07a4da02bf0344744a37fe1c /Zotlabs/Lib/Activity.php | |
parent | 5207e1e7749f9e3f2cec4a5cd6e5604bf35fcbb3 (diff) | |
download | volse-hubzilla-9e8ba5f6e24d4fdd1e06350f69731aaac9425948.tar.gz volse-hubzilla-9e8ba5f6e24d4fdd1e06350f69731aaac9425948.tar.bz2 volse-hubzilla-9e8ba5f6e24d4fdd1e06350f69731aaac9425948.zip |
add at the top to maintain original order
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 3af6253f9..45cb1d803 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -608,9 +608,9 @@ class Activity { call_hooks('encode_item', $hookinfo); - return $hookinfo['encoded']; + } static function decode_taxonomy($item) { @@ -780,7 +780,7 @@ class Activity { $entry['image'] = $att['image']; } if ($entry) { - $ret[] = $entry; + array_unshift($ret, $entry); } } } elseif (isset($item['attachment']) && is_string($item['attachment'])) { |