aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-05 16:56:40 -0700
committerredmatrix <git@macgirvin.com>2016-07-05 16:56:40 -0700
commitcbf009a95d742553b3e97f5ccfa5ec2ed0b464cb (patch)
treecdc2a46f32bcbf4f9e6d5843106ae2db196553a8
parent35cc763a92eefe755701a734f5d4256eae99e0b7 (diff)
downloadvolse-hubzilla-cbf009a95d742553b3e97f5ccfa5ec2ed0b464cb.tar.gz
volse-hubzilla-cbf009a95d742553b3e97f5ccfa5ec2ed0b464cb.tar.bz2
volse-hubzilla-cbf009a95d742553b3e97f5ccfa5ec2ed0b464cb.zip
cleanup
-rw-r--r--include/text.php16
1 files changed, 14 insertions, 2 deletions
diff --git a/include/text.php b/include/text.php
index 89c3a0539..986e3b56c 100644
--- a/include/text.php
+++ b/include/text.php
@@ -2354,7 +2354,13 @@ function handle_tag($a, &$body, &$access_tag, &$str_tags, $profile_uid, $tag, $d
$str_tags .= $newtag;
}
- return array('replaced' => $replaced, 'termtype' => $termtype, 'term' => $basetag, 'url' => $url, 'contact' => $r[0]);
+ return [
+ 'replaced' => $replaced,
+ 'termtype' => $termtype,
+ 'term' => $basetag,
+ 'url' => $url,
+ 'contact' => $r[0]
+ ];
}
//is it a person tag?
@@ -2545,7 +2551,13 @@ function handle_tag($a, &$body, &$access_tag, &$str_tags, $profile_uid, $tag, $d
}
}
- return array('replaced' => $replaced, 'termtype' => $termtype, 'term' => $newname, 'url' => $url, 'contact' => $r[0]);
+ return [
+ 'replaced' => $replaced,
+ 'termtype' => $termtype,
+ 'term' => $newname,
+ 'url' => $url,
+ 'contact' => $r[0]
+ ];
}
function linkify_tags($a, &$body, $uid, $diaspora = false) {