Fix unused $kw variable in Protocol\Diaspora
This commit is contained in:
parent
28397fc5fc
commit
722284ca8e
1 changed files with 1 additions and 1 deletions
|
@ -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])) {
|
||||||
|
|
Loading…
Reference in a new issue