aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-03-07 10:16:35 +0000
committerMario <mario@mariovavti.com>2024-03-07 10:16:35 +0000
commit9e8ba5f6e24d4fdd1e06350f69731aaac9425948 (patch)
treef6810908703fca1e07a4da02bf0344744a37fe1c /Zotlabs/Lib
parent5207e1e7749f9e3f2cec4a5cd6e5604bf35fcbb3 (diff)
downloadvolse-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')
-rw-r--r--Zotlabs/Lib/Activity.php4
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'])) {