Fix unused $kw variable in Protocol\Diaspora

This commit is contained in:
Hypolite Petovan 2019-01-07 13:28:24 -05:00
parent 28397fc5fc
commit 722284ca8e
1 changed files with 1 additions and 1 deletions

View File

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