aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/zfinger.php5
1 files 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;
}