diff options
author | Mario <mario@mariovavti.com> | 2022-01-09 16:38:10 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-01-09 16:38:10 +0000 |
commit | db39cd8b7c6e715d348270afb0604ef19b2b4fac (patch) | |
tree | a1cd480da96d6ecbc375608e2fd6f1b563299d34 /Zotlabs | |
parent | a35f741a3549934a40be17a91b488d48ab7c1953 (diff) | |
download | volse-hubzilla-db39cd8b7c6e715d348270afb0604ef19b2b4fac.tar.gz volse-hubzilla-db39cd8b7c6e715d348270afb0604ef19b2b4fac.tar.bz2 volse-hubzilla-db39cd8b7c6e715d348270afb0604ef19b2b4fac.zip |
fix php error
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 3cb2f7c22..cacf4d979 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -1703,7 +1703,7 @@ class Activity { if ($links) { foreach ($links as $link) { - if (array_key_exists('mediaType', $link) && $link['mediaType'] === 'text/html') { + if (is_array($link) && array_key_exists('mediaType', $link) && $link['mediaType'] === 'text/html') { $profile = $link['href']; } } |