From aefb0f823353d15a281d3c94ec6fc044e1b62580 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 14 Sep 2013 17:21:39 -0700 Subject: fix the missing brace before pushing --- mod/zfinger.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mod/zfinger.php b/mod/zfinger.php index 9a2873df3..70e3bdca6 100644 --- a/mod/zfinger.php +++ b/mod/zfinger.php @@ -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; } -- cgit v1.2.3