Browse Source

Fix unused $kw variable in Protocol\Diaspora

pull/6482/head
Hypolite Petovan 3 years ago
parent
commit
722284ca8e
  1. 2
      src/Protocol/Diaspora.php

2
src/Protocol/Diaspora.php

@ -4133,7 +4133,7 @@ class Diaspora
if ($profile['pub_keywords']) {
$kw = str_replace(',', ' ', $profile['pub_keywords']);
$kw = str_replace(' ', ' ', $kw);
$arr = explode(' ', $profile['pub_keywords']);
$arr = explode(' ', $kw);
if (count($arr)) {
for ($x = 0; $x < 5; $x ++) {
if (!empty($arr[$x])) {

Loading…
Cancel
Save