From 5d40742ee693fee97a60ccb7831acc51413c220a Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 15 Apr 2023 07:53:30 +0000 Subject: fix wrong variable --- Zotlabs/Lib/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Lib/Activity.php') diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index f309433c3..9bbebbf79 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -676,7 +676,7 @@ class Activity { $ret = []; - if (isset($item['attachment']) && is_array($obj['attachment'])) { + if (isset($item['attachment']) && is_array($item['attachment'])) { $ptr = $item['attachment']; if (!array_key_exists(0, $ptr)) { $ptr = [$ptr]; -- cgit v1.2.3