aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-01-09 16:38:10 +0000
committerMario <mario@mariovavti.com>2022-01-09 16:38:10 +0000
commitdb39cd8b7c6e715d348270afb0604ef19b2b4fac (patch)
treea1cd480da96d6ecbc375608e2fd6f1b563299d34 /Zotlabs
parenta35f741a3549934a40be17a91b488d48ab7c1953 (diff)
downloadvolse-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.php2
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'];
}
}