fix the missing brace before pushing

This commit is contained in:
friendica 2013-09-14 17:21:39 -07:00
parent 053893b067
commit aefb0f8233

View File

@ -106,12 +106,13 @@ function zfinger_init(&$a) {
if($p[0]['keywords']) {
$tags = array();
$k = explode(' ',$p[0]['keywords']);
if($k)
foreach($k as $kk)
if($k) {
foreach($k as $kk) {
if(trim($kk)) {
$tags[] = trim($kk," \t\n\r\0\x0B,");
}
}
}
if($tags)
$profile['keywords'] = $tags;
}