fix the missing brace before pushing
This commit is contained in:
parent
053893b067
commit
aefb0f8233
@ -106,12 +106,13 @@ function zfinger_init(&$a) {
|
|||||||
if($p[0]['keywords']) {
|
if($p[0]['keywords']) {
|
||||||
$tags = array();
|
$tags = array();
|
||||||
$k = explode(' ',$p[0]['keywords']);
|
$k = explode(' ',$p[0]['keywords']);
|
||||||
if($k)
|
if($k) {
|
||||||
foreach($k as $kk)
|
foreach($k as $kk) {
|
||||||
if(trim($kk)) {
|
if(trim($kk)) {
|
||||||
$tags[] = trim($kk," \t\n\r\0\x0B,");
|
$tags[] = trim($kk," \t\n\r\0\x0B,");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if($tags)
|
if($tags)
|
||||||
$profile['keywords'] = $tags;
|
$profile['keywords'] = $tags;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user