https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8adb082
)
Fix Warning "key() expects parameter 1 to be array, string given"
author
Michael
<heluecht@pirati.ca>
Sat, 27 Mar 2021 05:20:55 +0000
(
05:20
+0000)
committer
Michael
<heluecht@pirati.ca>
Sat, 27 Mar 2021 05:20:55 +0000
(
05:20
+0000)
src/Util/ParseUrl.php
patch
|
blob
|
history
diff --git
a/src/Util/ParseUrl.php
b/src/Util/ParseUrl.php
index
1810293
..
7c762ce
100644
(file)
--- a/
src/Util/ParseUrl.php
+++ b/
src/Util/ParseUrl.php
@@
-942,7
+942,7
@@
class ParseUrl
$siteinfo['keywords'][] = trim($keyword);
}
}
- } else {
+ } else
if (!empty($jsonld['keywords']))
{
$content = JsonLD::fetchElementArray($jsonld, 'keywords');
if (!empty($content) && is_array($content)) {
$jsonldinfo['keywords'] = $content;