1
1
Fork 0

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

View file

@ -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])) {