aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-14 17:21:39 -0700
committerfriendica <info@friendica.com>2013-09-14 17:21:39 -0700
commitaefb0f823353d15a281d3c94ec6fc044e1b62580 (patch)
tree307c10044bb84c8e410b1b738838d9658e2ec88e /mod
parent053893b0673d15c255718e5328fbbdb9af29f715 (diff)
downloadvolse-hubzilla-aefb0f823353d15a281d3c94ec6fc044e1b62580.tar.gz
volse-hubzilla-aefb0f823353d15a281d3c94ec6fc044e1b62580.tar.bz2
volse-hubzilla-aefb0f823353d15a281d3c94ec6fc044e1b62580.zip
fix the missing brace before pushing
Diffstat (limited to 'mod')
-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;
}